2024-08-20 12:25:27 -04:00
|
|
|
final: prev:
|
2024-08-28 21:24:00 -04:00
|
|
|
let
|
2024-08-20 12:18:50 -04:00
|
|
|
os = "linux";
|
|
|
|
arch = "x64";
|
2024-08-20 12:25:27 -04:00
|
|
|
hash = "sha256:04vg1s86krg7baifcpnqr5zg6jd6nfw0jhjsq09zzpxwg5skxlf7";
|
|
|
|
version = "7.2.1";
|
2024-08-28 21:24:00 -04:00
|
|
|
in {
|
|
|
|
recyclarr = prev.recyclarr.overrideAttrs (old: {
|
|
|
|
inherit version;
|
|
|
|
name = "recyclarr-${version}";
|
|
|
|
src = prev.fetchurl {
|
|
|
|
url =
|
|
|
|
"https://github.com/recyclarr/recyclarr/releases/download/v${version}/recyclarr-${os}-${arch}.tar.xz";
|
|
|
|
inherit hash;
|
|
|
|
};
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/recyclarr \
|
|
|
|
--prefix PATH : ${prev.lib.makeBinPath [ prev.git ]} \
|
|
|
|
--prefix LD_LIBRARY_PATH : ${
|
|
|
|
prev.lib.makeLibraryPath [ prev.icu prev.openssl prev.zlib ]
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
}
|