pythonPackages.transmissionrpc: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 11:49:31 -04:00
parent 482b9eac1f
commit 48cf32e573
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 18 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "transmissionrpc";
version = "0.11";
src = fetchPypi {
inherit pname version;
sha256 = "ec43b460f9fde2faedbfa6d663ef495b3fd69df855a135eebe8f8a741c0dde60";
};
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Python implementation of the Transmission bittorent client RPC protocol";
homepage = https://pypi.python.org/pypi/transmissionrpc/;
license = licenses.mit;
};
}

View File

@ -3999,24 +3999,7 @@ in {
transaction = callPackage ../development/python-modules/transaction { };
transmissionrpc = buildPythonPackage rec {
name = "transmissionrpc-${version}";
version = "0.11";
src = pkgs.fetchurl {
url = "mirror://pypi/t/transmissionrpc/${name}.tar.gz";
sha256 = "ec43b460f9fde2faedbfa6d663ef495b3fd69df855a135eebe8f8a741c0dde60";
};
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Python implementation of the Transmission bittorent client RPC protocol";
homepage = https://pypi.python.org/pypi/transmissionrpc/;
license = licenses.mit;
};
};
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
eggdeps = buildPythonPackage rec {
name = "eggdeps-${version}";