Merge pull request #15465 from seschwar/transmission-remote-cli

transmission_remote_cli: init at 1.7.1
This commit is contained in:
Arseniy Seroka 2016-05-15 01:09:30 +03:00
commit ac54855b0b
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
name = "transmission-remote-cli-${version}";
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 ];
pythonPath = [ pythonPackages.curses ];
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;
};
}

View file

@ -14254,6 +14254,7 @@ in
transmission = callPackage ../applications/networking/p2p/transmission { };
transmission_gtk = transmission.override { enableGTK3 = true; };
transmission-remote-cli = callPackage ../applications/networking/p2p/transmission-remote-cli {};
transmission_remote_gtk = callPackage ../applications/networking/p2p/transmission-remote-gtk {};
trayer = callPackage ../applications/window-managers/trayer { };