2025-08-07 08:12:52 -07:00

41 lines
768 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
requests,
websocket-client,
pyjwt,
}:
buildPythonPackage rec {
pname = "triggercmd";
version = "0.0.27";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-4MTRtDo4kD/1Bifw8wx++TZ3K2M4TMVRyvwqGL5cHC8=";
};
build-system = [ setuptools ];
dependencies = [
requests
websocket-client
pyjwt
];
# Tests require network access and authentication tokens
doCheck = false;
pythonImportsCheck = [ "triggercmd" ];
meta = {
description = "Python agent for TRIGGERcmd cloud service";
homepage = "https://github.com/rvmey/triggercmd-python-agent";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}