2021-02-06 23:20:50 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, typing-extensions
|
|
|
|
, requests
|
|
|
|
, yarl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "transmission-rpc";
|
2021-08-10 21:01:28 +01:00
|
|
|
version = "3.2.6";
|
2021-02-06 23:20:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-10 21:01:28 +01:00
|
|
|
sha256 = "1k4yyrbdqxp43zsmcg37a99x4s2kwsm7yyajf810y2wx61nq49d1";
|
2021-02-06 23:20:50 +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 ];
|
|
|
|
};
|
|
|
|
}
|