Merge pull request #151226 from fabaff/aiosenz
python3Packages.aiosenz: init at 1.0.0
This commit is contained in:
commit
161f432c92
2 changed files with 44 additions and 0 deletions
42
pkgs/development/python-modules/aiosenz/default.nix
Normal file
42
pkgs/development/python-modules/aiosenz/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue