diff options
Diffstat (limited to 'pkgs/development/python-modules/tami4edgeapi')
| -rw-r--r-- | pkgs/development/python-modules/tami4edgeapi/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tami4edgeapi/default.nix b/pkgs/development/python-modules/tami4edgeapi/default.nix new file mode 100644 index 000000000000..45cf533db170 --- /dev/null +++ b/pkgs/development/python-modules/tami4edgeapi/default.nix @@ -0,0 +1,46 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + pyjwt, + pypasser, + requests, + pythonOlder, +}: + +buildPythonPackage rec { + pname = "tami4edgeapi"; + version = "3.0"; + pyproject = true; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "Guy293"; + repo = "Tami4EdgeAPI"; + tag = "v${version}"; + hash = "sha256-rhJ8L6qLDnO50Xp2eqquRinDTQjMxWVSjNL5GQI1gvM="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + pyjwt + pypasser + requests + ]; + + # Package has no tests + doCheck = false; + + pythonImportsCheck = [ "Tami4EdgeAPI" ]; + + meta = { + description = "Python API client for Tami4 Edge / Edge+ devices"; + homepage = "https://github.com/Guy293/Tami4EdgeAPI"; + changelog = "https://github.com/Guy293/Tami4EdgeAPI/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} |
