bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
35 lines
729 B
Nix
35 lines
729 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zephyr-python-api";
|
|
version = "0.1.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "zephyr_python_api";
|
|
inherit version;
|
|
hash = "sha256-YupGiybfhwb+I4ofr6RNBzS6LQfx5BQD/SU5nYrnqFk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "zephyr" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nassauwinter/zephyr-python-api";
|
|
description = "Set of wrappers for Zephyr Scale (TM4J) REST API";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ rapiteanu ];
|
|
};
|
|
}
|