2021-02-17 17:02:09 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, typing-extensions
|
|
|
|
, requests
|
|
|
|
, yarl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "transmission-rpc";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "3.2.4";
|
2021-02-17 17:02:09 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "f852d1afd0f0d4f515fe20f0de94d57b6d2e36cbac45e07da43ea0b6518f535c";
|
2021-02-17 17:02:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|