From b6d6a89fad7416983a81b1e15263c1327f12c828 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 20 May 2022 17:45:05 +0300 Subject: [PATCH] =?UTF-8?q?goldendict:=202021-03-09=20=E2=86=92=202022-05-?= =?UTF-8?q?10,=20fix=20build=20on=20darwin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/misc/goldendict/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/goldendict/default.nix b/pkgs/applications/misc/goldendict/default.nix index f0eed5c1e2fc..097dbe58ec54 100644 --- a/pkgs/applications/misc/goldendict/default.nix +++ b/pkgs/applications/misc/goldendict/default.nix @@ -10,13 +10,13 @@ mkDerivation rec { pname = "goldendict"; - version = "2021-03-09"; + version = "2022-05-10"; src = fetchFromGitHub { owner = "goldendict"; repo = pname; - rev = "b2e673961d28ca5eb920a909091252d3321f09d6"; - sha256 = "sha256-+AAamnICq0/B54ggFpgF/Uupm1a4YiEYgHXrhIK4M0E="; + rev = "f810c6bd724e61977b4e94ca2d8abfa5bd766379"; + sha256 = "sha256-gNM+iahoGQy8TlNFLQx5ksITzQznv7MWMX/88QCTnL0"; }; patches = [ @@ -27,7 +27,8 @@ mkDerivation rec { postPatch = '' substituteInPlace goldendict.pro \ - --replace "hunspell-1.6.1" "hunspell-${lib.versions.majorMinor hunspell.version}" + --replace "hunspell-1.6.1" "hunspell-${lib.versions.majorMinor hunspell.version}" \ + --replace "opencc.2" "opencc" ''; nativeBuildInputs = [ pkg-config qmake ];