hydrus 436

This commit is contained in:
dusk 2021-04-23 23:03:02 +03:00
parent a8320e7798
commit fcc1c56bc4
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -1,7 +1,6 @@
final: prev: { final: prev: {
hydrus = prev.hydrus.overrideAttrs (old: hydrus = prev.hydrus.overrideAttrs (old:
let version = "435"; let version = "436"; in
in
{ {
inherit version; inherit version;
@ -9,14 +8,7 @@ final: prev: {
owner = "hydrusnetwork"; owner = "hydrusnetwork";
repo = old.pname; repo = old.pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-+YOFqRgyNtdVBBCb6MWb+PqUoGvt8M0/ygiHrvxdWWg="; sha256 = "sha256-FXm8VUEY0OZ6/dc/qNwOXekhv5H2C9jjg/eNDoMvMn0=";
}; };
postPatch = ''
sed 's;os\.path\.join(\sHC\.BIN_DIR,.*;"${prev.miniupnpc_2}/bin/upnpc";' \
-i ./hydrus/core/networking/HydrusNATPunch.py
sed 's;os\.path\.join(\sHC\.BIN_DIR,.*;"${prev.swftools}/bin/swfrender";' \
-i ./hydrus/core/HydrusFlashHandling.py
'';
}); });
} }