Merge pull request #169487 from fabaff/aioqsw

python3Packages.aioqsw: init at 0.0.5
This commit is contained in:
Fabian Affolter 2022-04-21 07:58:59 +02:00 committed by GitHub
commit 22b240a21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioqsw";
version = "0.0.5";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Noltari";
repo = pname;
rev = version;
hash = "sha256-2MuJrWrjcRkdeVkKfv/nUVfHyBtKKsq1sC5ISSEtyEE=";
};
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioqsw"
];
meta = with lib; {
description = "Library to fetch data from QNAP QSW switches";
homepage = "https://github.com/Noltari/aioqsw";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -375,6 +375,8 @@ in {
aiopylgtv = callPackage ../development/python-modules/aiopylgtv { }; aiopylgtv = callPackage ../development/python-modules/aiopylgtv { };
aioqsw = callPackage ../development/python-modules/aioqsw { };
aiorecollect = callPackage ../development/python-modules/aiorecollect { }; aiorecollect = callPackage ../development/python-modules/aiorecollect { };
aioredis = callPackage ../development/python-modules/aioredis { }; aioredis = callPackage ../development/python-modules/aioredis { };