Merge pull request #240054 from wegank/goldendict-bump

goldendict: 2022-05-10 -> 1.5.0

authored by

Weijia Wang and committed by
GitHub
1c851e8c 8f342bfa

+7 -7
+7 -7
pkgs/applications/misc/goldendict/default.nix
··· 1 - { lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config 1 + { lib, stdenv, fetchFromGitHub, pkg-config 2 2 , libXtst, libvorbis, hunspell, lzo, xz, bzip2, libiconv 3 3 , qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake 4 + , wrapQtAppsHook 4 5 , withCC ? true, opencc 5 6 , withEpwing ? true, libeb 6 7 , withExtraTiff ? true, libtiff ··· 8 9 , withMultimedia ? true 9 10 , withZim ? true, zstd }: 10 11 11 - mkDerivation rec { 12 + stdenv.mkDerivation rec { 12 13 pname = "goldendict"; 13 - version = "2022-05-10"; 14 + version = "1.5.0"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "goldendict"; 17 18 repo = pname; 18 - rev = "f810c6bd724e61977b4e94ca2d8abfa5bd766379"; 19 - sha256 = "sha256-gNM+iahoGQy8TlNFLQx5ksITzQznv7MWMX/88QCTnL0"; 19 + rev = "v${version}"; 20 + hash = "sha256-80o8y+mbzpyMQYUGHYs/zgQT23nLVCs7Jcr8FbbXn8M="; 20 21 }; 21 22 22 23 patches = [ 23 24 ./0001-dont-check-for-updates.patch 24 - ] ++ lib.optionals stdenv.isDarwin [ 25 25 ./0001-dont-use-maclibs.patch 26 26 ]; 27 27 ··· 31 31 --replace "opencc.2" "opencc" 32 32 ''; 33 33 34 - nativeBuildInputs = [ pkg-config qmake ]; 34 + nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ]; 35 35 buildInputs = [ 36 36 qtbase qtsvg qtwebkit qttools 37 37 libvorbis hunspell xz lzo