forked from mirrors/nixpkgs
Merge pull request #112237 from eyJhb/transmissionrpc-update
pythonPackages.transmission-rpc: 0.11 -> 3.2.2
This commit is contained in:
commit
b29675a553
36
pkgs/development/python-modules/transmission-rpc/default.nix
Normal file
36
pkgs/development/python-modules/transmission-rpc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue