blob: ee2f6647a02b1b0e316f52a2443f8a79d18ecedc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
requests,
websocket-client,
pyjwt,
}:
buildPythonPackage rec {
pname = "triggercmd";
version = "0.0.36";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ky6U0iAoxQMewh+gB7gBG61PuxUnOONe92io6iygGQU=";
};
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 ];
};
}
|