nixpkgs/pkgs/servers/jackett/default.nix
R. RyanTM 17e84dce3c jackett: 0.8.716 -> 0.8.823
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
- ran `/nix/store/kwh7gb5sp7psf4b3jrdd983qkz6j83gm-jackett-0.8.823/bin/Jackett -h` got 0 exit code
- ran `/nix/store/kwh7gb5sp7psf4b3jrdd983qkz6j83gm-jackett-0.8.823/bin/Jackett help` got 0 exit code
- ran `/nix/store/kwh7gb5sp7psf4b3jrdd983qkz6j83gm-jackett-0.8.823/bin/Jackett -v` and found version 0.8.823
- found 0.8.823 with grep in /nix/store/kwh7gb5sp7psf4b3jrdd983qkz6j83gm-jackett-0.8.823
- directory tree listing: https://gist.github.com/bf7b84e7a8b5bd02a6851e84037b42ae
2018-03-31 06:33:17 -07:00

31 lines
892 B
Nix

{ stdenv, fetchurl, mono, curl, makeWrapper }:
stdenv.mkDerivation rec {
name = "jackett-${version}";
version = "0.8.823";
src = fetchurl {
url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz";
sha256 = "0hicz21dvcakqkxix70akc3rrz570j3g0a512pqrr3bdq7ay0dkk";
};
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;
};
}