python3Packages.aiosenz: init at 1.0.0

This commit is contained in:
Fabian Affolter 2021-12-18 19:01:56 +01:00
parent a1b519b496
commit 67f95f156e
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 { };