2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
|
|
|
setuptools,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zephyr-python-api";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.1.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-05-15 15:35:15 +00:00
|
|
|
pname = "zephyr_python_api";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-YupGiybfhwb+I4ofr6RNBzS6LQfx5BQD/SU5nYrnqFk=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|