pythonPackages.agent-py: init at 0.0.23

This commit is contained in:
Jamie Magee 2020-12-29 19:35:15 +01:00
parent ef7116f203
commit 0dfad7d5df
No known key found for this signature in database
GPG Key ID: 4429B642B1718654
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ aiohttp, buildPythonPackage, fetchPypi, isPy3k, lib, python, requests }:
buildPythonPackage rec {
pname = "agent-py";
version = "0.0.23";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1hx88m8b8kfb2gm6hii5ldjv7hlvqf99cz0w2vj0d0grrxcbn5cz";
};
propagatedBuildInputs = [ requests aiohttp ];
checkPhase = ''
${python.interpreter} tests/test_agent.py
'';
meta = with lib; {
description = "A python wrapper around the Agent REST API.";
homepage = "https://github.com/ispysoftware/agent-py";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@ -187,6 +187,8 @@ in {
agate-sql = callPackage ../development/python-modules/agate-sql { };
agent-py = callPackage ../development/python-modules/agent-py { };
aioamqp = callPackage ../development/python-modules/aioamqp { };
aioconsole = callPackage ../development/python-modules/aioconsole { };