1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, typing-extensions
6, requests
7, yarl
8, pythonOlder
9}:
10
11buildPythonPackage rec {
12 pname = "transmission-rpc";
13 version = "3.3.0";
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "ef3a931fc1f1db74edf8660e475b9295e0904ee922030ef0e45b0c73f4be65ae";
19 };
20
21 propagatedBuildInputs = [
22 six
23 typing-extensions
24 requests
25 yarl
26 ];
27
28 # no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "transmission_rpc" ];
32
33 meta = with lib; {
34 description = "Python module that implements the Transmission bittorent client RPC protocol";
35 homepage = "https://github.com/Trim21/transmission-rpc";
36 license = licenses.mit;
37 maintainers = with maintainers; [ eyjhb ];
38 };
39}