nixpkgs/pkgs/development/python-modules/agent-py/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

39 lines
692 B
Nix

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