git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #125257 from mingmingrr/master

pythonPackages.hydrus: 438 -> 441

commitee9100378661651d30b1d4a70d992ef2dfdd669c authorSandro <sandro.jaeckel@gmail.com> dateThu 3 Jun 2021, 17:34 (5 years ago) parent4f474c703956aa
1 file changed+4−3
pkgs/applications/graphics/hydrus/default.nix+4−3
pkgs/applications/graphics/hydrus/default.nix+4−3
@@ -3,20 +3,21 @@
33, xz
44, wrapQtAppsHook
55, miniupnpc_2
6+, enableSwftools ? false
67, swftools
78, pythonPackages
89}:
910
1011pythonPackages.buildPythonPackage rec {
1112 pname = "hydrus";
12− version = "438";
13+ version = "441";
1314 format = "other";
1415
1516 src = fetchFromGitHub {
1617 owner = "hydrusnetwork";
1718 repo = "hydrus";
1819 rev = "v${version}";
19− sha256 = "sha256-iBJkbVUlsjt26SbDe92eIrWKQwWBhkjjeLM14Pm/obc=";
20+ sha256 = "13h4qcz0iqba4mwyvgmdqh99jy22x7kw20f3g43b5aq3qyk9ca2h";
2021 };
2122
2223 nativeBuildInputs = [
@@ -79,7 +80,7 @@ pythonPackages.buildPythonPackage rec {
7980 postPatch = ''
8081 sed 's;os\.path\.join(\sHC\.BIN_DIR,.*;"${miniupnpc_2}/bin/upnpc";' \
8182 -i ./hydrus/core/networking/HydrusNATPunch.py
82−
83+ '' + lib.optionalString enableSwftools ''
8384 sed 's;os\.path\.join(\sHC\.BIN_DIR,.*;"${swftools}/bin/swfrender";' \
8485 -i ./hydrus/core/HydrusFlashHandling.py
8586 '';