nixpkgs/pkgs/servers/jackett/default.nix
R. RyanTM 2ba2a85390 jackett: 0.8.997 -> 0.8.1014 (#40966)
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/wbmvjpsv9nkvgmxa1gycn2c6f6cbx60i-jackett-0.8.1014/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.1014 with grep in /nix/store/wbmvjpsv9nkvgmxa1gycn2c6f6cbx60i-jackett-0.8.1014
- directory tree listing: https://gist.github.com/9c12511f3c3405355ff8757dd51b9acd
- du listing: https://gist.github.com/3e5688b0ab698810d090854a3ed4340a
2018-05-28 14:39:47 +02:00

31 lines
893 B
Nix

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