Merge pull request #244551 from Steinhagen/zephyr-pythin-api

python3Packages.zephyr-python-api: init at 0.0.3
This commit is contained in:
OTABI Tomoya 2023-08-27 19:22:41 +09:00 committed by GitHub
commit 749c18d7b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -14046,6 +14046,8 @@ self: super: with self; {
python3 = python;
})).py;
zephyr-python-api = callPackage ../development/python-modules/zephyr-python-api { };
zeroc-ice = callPackage ../development/python-modules/zeroc-ice { };
zeroconf = callPackage ../development/python-modules/zeroconf { };