1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 requests,
7 websocket-client,
8 pyjwt,
9}:
10
11buildPythonPackage rec {
12 pname = "triggercmd";
13 version = "0.0.36";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-ky6U0iAoxQMewh+gB7gBG61PuxUnOONe92io6iygGQU=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 requests
25 websocket-client
26 pyjwt
27 ];
28
29 # Tests require network access and authentication tokens
30 doCheck = false;
31
32 pythonImportsCheck = [ "triggercmd" ];
33
34 meta = {
35 description = "Python agent for TRIGGERcmd cloud service";
36 homepage = "https://github.com/rvmey/triggercmd-python-agent";
37 license = lib.licenses.mit;
38 maintainers = [ lib.maintainers.jamiemagee ];
39 };
40}