From 03956aa12b801dd337d06453ab329c51f138b003 Mon Sep 17 00:00:00 2001 From: mingmingrr Date: Tue, 1 Jun 2021 12:42:04 -0400 Subject: [PATCH] pythonPackages.hydrus: 438 -> 441 --- pkgs/applications/graphics/hydrus/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/hydrus/default.nix b/pkgs/applications/graphics/hydrus/default.nix index c7d4a77ea2a..a3b043adbe5 100644 --- a/pkgs/applications/graphics/hydrus/default.nix +++ b/pkgs/applications/graphics/hydrus/default.nix @@ -3,20 +3,21 @@ , xz , wrapQtAppsHook , miniupnpc_2 +, enableSwftools ? false , swftools , pythonPackages }: pythonPackages.buildPythonPackage rec { pname = "hydrus"; - version = "438"; + version = "441"; format = "other"; src = fetchFromGitHub { owner = "hydrusnetwork"; repo = "hydrus"; rev = "v${version}"; - sha256 = "sha256-iBJkbVUlsjt26SbDe92eIrWKQwWBhkjjeLM14Pm/obc="; + sha256 = "13h4qcz0iqba4mwyvgmdqh99jy22x7kw20f3g43b5aq3qyk9ca2h"; }; nativeBuildInputs = [ @@ -79,7 +80,7 @@ pythonPackages.buildPythonPackage rec { postPatch = '' sed 's;os\.path\.join(\sHC\.BIN_DIR,.*;"${miniupnpc_2}/bin/upnpc";' \ -i ./hydrus/core/networking/HydrusNATPunch.py - + '' + lib.optionalString enableSwftools '' sed 's;os\.path\.join(\sHC\.BIN_DIR,.*;"${swftools}/bin/swfrender";' \ -i ./hydrus/core/HydrusFlashHandling.py '';