1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchPypi, 5 isPy3k, 6 lib, 7 python, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "agent-py"; 13 version = "0.0.23"; 14 format = "setuptools"; 15 16 disabled = !isPy3k; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "1hx88m8b8kfb2gm6hii5ldjv7hlvqf99cz0w2vj0d0grrxcbn5cz"; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 aiohttp 26 ]; 27 28 checkPhase = '' 29 ${python.interpreter} tests/test_agent.py 30 ''; 31 32 meta = with lib; { 33 description = "A python wrapper around the Agent REST API."; 34 homepage = "https://github.com/ispysoftware/agent-py"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ jamiemagee ]; 37 }; 38}