final: prev: let os = "linux"; arch = "x64"; hash = "sha256:04vg1s86krg7baifcpnqr5zg6jd6nfw0jhjsq09zzpxwg5skxlf7"; version = "7.2.1"; 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 ] } ''; }); }