Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 36 lines 733 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, typing-extensions 6, requests 7, yarl 8}: 9 10buildPythonPackage rec { 11 pname = "transmission-rpc"; 12 version = "3.2.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "f852d1afd0f0d4f515fe20f0de94d57b6d2e36cbac45e07da43ea0b6518f535c"; 17 }; 18 19 propagatedBuildInputs = [ 20 six 21 typing-extensions 22 requests 23 yarl 24 ]; 25 26 # no tests 27 doCheck = false; 28 pythonImportsCheck = [ "transmission_rpc" ]; 29 30 meta = with lib; { 31 description = "Python module that implements the Transmission bittorent client RPC protocol"; 32 homepage = "https://pypi.python.org/project/transmission-rpc/"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ eyjhb ]; 35 }; 36}