1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5}:
6
7buildPythonPackage rec {
8 pname = "transmissionrpc";
9 version = "0.11";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "ec43b460f9fde2faedbfa6d663ef495b3fd69df855a135eebe8f8a741c0dde60";
14 };
15
16 propagatedBuildInputs = [ six ];
17
18 # no tests
19 doCheck = false;
20 pythonImportsCheck = [ "transmissionrpc" ];
21
22 meta = with lib; {
23 description = "Python implementation of the Transmission bittorent client RPC protocol";
24 homepage = "https://pypi.python.org/pypi/transmissionrpc/";
25 license = with licenses; [ mit ];
26 maintainers = with maintainers; [ fab ];
27 };
28}