Skip to content

Commit

Permalink
python3Packages.zephyr-test-management: init at 0.2.1 (NixOS#363689)
Browse files Browse the repository at this point in the history
Python module that wraps all Zephyr Test Management variants for
all versions (cloud and server).
  • Loading branch information
Steinhagen authored Dec 19, 2024
1 parent 8d08b3a commit 990cf27
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/zephyr-test-management/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchPypi,
requests,
setuptools,
}:

buildPythonPackage rec {
pname = "zephyr-test-management";
version = "0.2.1";
pyproject = true;

src = fetchPypi {
pname = "zephyr_test_management";
inherit version;
hash = "sha256-bzRtiDoNbMfUKeHgVVomcX+RHaY2D0gAsWFuGahykVE=";
};

build-system = [ setuptools ];

dependencies = [ requests ];

# No tests in archive
doCheck = false;

pythonImportsCheck = [ "zephyr" ];

meta = {
homepage = "https://github.com/Steinhagen/zephyr-test-management";
description = "Wrappers for both Zephyr Scale and Zephyr Squad (TM4J) REST APIs";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ rapiteanu ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18360,6 +18360,8 @@ self: super: with self; {

zephyr-python-api = callPackage ../development/python-modules/zephyr-python-api { };

zephyr-test-management = callPackage ../development/python-modules/zephyr-test-management { };

zeroc-ice = callPackage ../development/python-modules/zeroc-ice { };

zeroconf = callPackage ../development/python-modules/zeroconf { };
Expand Down

0 comments on commit 990cf27

Please sign in to comment.