2021-02-17 17:02:09 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, typing-extensions
|
|
|
|
, requests
|
|
|
|
, yarl
|
2021-08-23 08:02:39 +00:00
|
|
|
, pythonOlder
|
2021-02-17 17:02:09 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "transmission-rpc";
|
2021-10-01 09:20:50 +00:00
|
|
|
version = "3.3.0";
|
2021-08-23 08:02:39 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2021-02-17 17:02:09 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-01 09:20:50 +00:00
|
|
|
sha256 = "ef3a931fc1f1db74edf8660e475b9295e0904ee922030ef0e45b0c73f4be65ae";
|
2021-02-17 17:02:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
typing-extensions
|
|
|
|
requests
|
|
|
|
yarl
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
2021-08-23 08:02:39 +00:00
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
pythonImportsCheck = [ "transmission_rpc" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module that implements the Transmission bittorent client RPC protocol";
|
2021-08-23 08:02:39 +00:00
|
|
|
homepage = "https://github.com/Trim21/transmission-rpc";
|
2021-02-17 17:02:09 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ eyjhb ];
|
|
|
|
};
|
|
|
|
}
|