Merge pull request #151226 from fabaff/aiosenz

python3Packages.aiosenz: init at 1.0.0
This commit is contained in:
Fabian Affolter 2021-12-19 10:54:55 +01:00 committed by GitHub
commit 161f432c92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiosenz";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = version;
sha256 = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w=";
};
propagatedBuildInputs = [
httpx
authlib
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"aiosenz"
];
meta = with lib; {
description = "Python wrapper for the nVent Raychem SENZ RestAPI";
homepage = "https://github.com/milanmeu/aiosenz";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -381,6 +381,8 @@ in {
aiorun = callPackage ../development/python-modules/aiorun { };
aiosenz = callPackage ../development/python-modules/aiosenz { };
aioserial = callPackage ../development/python-modules/aioserial { };
aioshelly = callPackage ../development/python-modules/aioshelly { };