2016-05-14 21:26:16 +01:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "transmission-remote-cli";
|
2016-05-14 21:26:16 +01:00
|
|
|
version = "1.7.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/fagga/transmission-remote-cli/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1y0hkpcjf6jw9xig8yf484hbhy63nip0pkchx401yxj81m25l4z9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [ python wrapPython ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D transmission-remote-cli $out/bin/transmission-remote-cli
|
|
|
|
install -D transmission-remote-cli.1 $out/share/man/man1/transmission-remote-cli.1
|
|
|
|
wrapPythonPrograms
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Curses interface for the Transmission BitTorrent daemon";
|
|
|
|
homepage = https://github.com/fagga/transmission-remote-cli;
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-05-14 21:26:16 +01:00
|
|
|
};
|
|
|
|
}
|