at master 791 B view raw
1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lib, 6 setuptools, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "agent-py"; 12 version = "0.0.24"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "ispysoftware"; 17 repo = "agent-py"; 18 tag = "agent-py.${version}"; 19 hash = "sha256-PP4gQ3AFYLJPUt9jhhiV9HkfBhIzd+JIsGpgK6FNmaE="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ aiohttp ]; 25 26 doCheck = false; # only test is outdated 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 pythonImportsCheck = [ "agent" ]; 31 32 meta = with lib; { 33 description = "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}