python3Packages.aiooncue: init at 0.3.2

This commit is contained in:
Fabian Affolter
2022-02-03 19:36:23 +01:00
parent cd1daa018a
commit e4a506d699
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiooncue";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = version;
hash = "sha256-6GnXuYpggUMisfeOnl52xvWFIZRV+oCwsFKAjPwscTU=";
};
propagatedBuildInputs = [
aiohttp
];
# Module doesn't have tests
doCheck = false;
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner",' ""
'';
pythonImportsCheck = [
"aiooncue"
];
meta = with lib; {
description = "Module to interact with the Kohler Oncue API";
homepage = "https://github.com/bdraco/aiooncue";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -362,6 +362,8 @@ in {
aionotion = callPackage ../development/python-modules/aionotion { };
aiooncue = callPackage ../development/python-modules/aiooncue { };
aiopg = callPackage ../development/python-modules/aiopg { };
aioprocessing = callPackage ../development/python-modules/aioprocessing { };