transmission-rpc: 0.11 -> 3.2.2

This commit is contained in:
eyjhb 2021-02-07 00:20:50 +01:00
parent 6c5b20fcdf
commit 5c2a8eec4a
No known key found for this signature in database
GPG Key ID: 740FAE1502523BD8
3 changed files with 39 additions and 27 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, typing-extensions
, requests
, yarl
}:
buildPythonPackage rec {
pname = "transmission-rpc";
version = "3.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "1y5048109j6z4smzwysvdjfn6cj9698dsxfim9i4nqam4nmw2wi7";
};
propagatedBuildInputs = [
six
typing-extensions
requests
yarl
];
# no tests
doCheck = false;
pythonImportsCheck = [ "transmission_rpc" ];
meta = with lib; {
description = "Python module that implements the Transmission bittorent client RPC protocol";
homepage = "https://pypi.python.org/project/transmission-rpc/";
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
};
}

View File

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

View File

@ -7927,7 +7927,9 @@ in {
translationstring = callPackage ../development/python-modules/translationstring { };
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
transmission-rpc = callPackage ../development/python-modules/transmission-rpc { };
transmissionrpc = self.transmission-rpc; # alias for compatibility 2020-02-07
treq = callPackage ../development/python-modules/treq { };