diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/zephyr-python-api/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/zephyr-python-api/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/zephyr-python-api/default.nix b/nixpkgs/pkgs/development/python-modules/zephyr-python-api/default.nix new file mode 100644 index 000000000000..07cc6a2b7a19 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/zephyr-python-api/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +, setuptools +}: + +buildPythonPackage rec { + pname = "zephyr-python-api"; + version = "0.0.3"; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-M9Kf0RtoSeDFAAgAuks+Ek+Wg5OM8qmd3eDoaAgAa3A="; + }; + + nativeBuildInputs = [ setuptools ]; + + propagatedBuildInputs = [ + requests + ]; + + # No tests in archive + doCheck = false; + + pythonImportsCheck = [ "zephyr" ]; + + meta = { + homepage = "https://github.com/nassauwinter/zephyr-python-api"; + description = "A set of wrappers for Zephyr Scale (TM4J) REST API"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ rapiteanu ]; + }; +} |