80fe329faf
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/jackett/versions. These checks were done: - built on NixOS - /nix/store/1rbrbn9h8ll5srwpv073578fcb0y930j-jackett-0.8.997/bin/Jackett passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 0.8.997 with grep in /nix/store/1rbrbn9h8ll5srwpv073578fcb0y930j-jackett-0.8.997 - directory tree listing: https://gist.github.com/725e5ff70be355ede10316c73e49da01 - du listing: https://gist.github.com/46fe05a40289b5eb82e68af6ef0dd0d0
31 lines
892 B
Nix
31 lines
892 B
Nix
{ stdenv, fetchurl, mono, curl, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jackett-${version}";
|
|
version = "0.8.997";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz";
|
|
sha256 = "0a0viv3aw33kvj9z2fmqacvk2prv8dbdnk85b3xa4knp8cvsva6w";
|
|
};
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/{bin,share/${name}}
|
|
cp -r * $out/share/${name}
|
|
|
|
makeWrapper "${mono}/bin/mono" $out/bin/Jackett \
|
|
--add-flags "$out/share/${name}/JackettConsole.exe" \
|
|
--prefix LD_LIBRARY_PATH ':' "${curl.out}/lib"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "API Support for your favorite torrent trackers.";
|
|
homepage = https://github.com/Jackett/Jackett/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|