Unverified Commit 03c62e5b authored by Vonfry's avatar Vonfry Committed by Vonfry
Browse files

fcitx5-chinese-addons: 5.1.10 -> 5.1.12

parent 5457e182
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -35,13 +35,13 @@ in

stdenv.mkDerivation rec {
  pname = "fcitx5-chinese-addons";
  version = "5.1.10";
  version = "5.1.12";

  src = fetchFromGitHub {
    owner = "fcitx";
    repo = pname;
    rev = version;
    hash = "sha256-kVBDfr8NKsQQQX69N3/fVqJgObRNSX2p0GNSUjbZvcg=";
    hash = "sha256-bAx5m+tU8hT1WdaLChpQV3J0l+QJzDLzMEPTgjEGCuw=";
  };

  nativeBuildInputs = [
@@ -51,15 +51,6 @@ stdenv.mkDerivation rec {
    fcitx5-lua
  ];

  patches = [
    # Without this patch, setting ENABLE_CLOUDPINYIN to off would fail to build
    (fetchpatch {
      name = "cloudpinyin-disable-build";
      url = "https://github.com/fcitx/fcitx5-chinese-addons/commit/024fff9c8587ca2fb01905e9a25df838e7d99da2.patch";
      hash = "sha256-Mo5l8tsn1JQxTFHxOZfQRmbCeWZHLyxfn2Qwv/gQXGA=";
    })
  ];

  prePatch = ''
    ln -s ${pyStroke} modules/pinyinhelper/$(stripHash ${pyStroke})
    ln -s ${pyTable} modules/pinyinhelper/$(stripHash ${pyTable})