ark/overlays/hydrus.nix

17 lines
559 B
Nix
Raw Normal View History

2021-03-26 21:03:40 +03:00
final: prev: {
hydrus = prev.hydrus.overrideAttrs (old: rec {
pname = "hydrus";
2021-04-09 14:08:34 +03:00
version = "434";
src = builtins.fetchGit {
url = "https://github.com/hydrusnetwork/hydrus.git";
rev = "71bedccaeabf411307edeac3b03a0903d2c23ec8";
2021-03-26 21:03:40 +03:00
};
2021-04-09 14:08:34 +03:00
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
'';
2021-03-26 21:03:40 +03:00
});
}