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";
|
2021-04-14 23:41:56 +03:00
|
|
|
|
2021-04-09 14:08:34 +03:00
|
|
|
src = builtins.fetchGit {
|
|
|
|
url = "https://github.com/hydrusnetwork/hydrus.git";
|
|
|
|
rev = "71bedccaeabf411307edeac3b03a0903d2c23ec8";
|
2021-03-26 21:03:40 +03:00
|
|
|
};
|
2021-04-14 23:41:56 +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
|
|
|
});
|
|
|
|
}
|