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