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