python3Packages.aiolip: init at 1.1.4

This commit is contained in:
Fabian Affolter 2021-04-11 15:21:08 +02:00
parent 089908b9db
commit 76019785f6
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiolip";
version = "1.1.4";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = version;
sha256 = "1f8mlvbnfcn3sigsmjdpdpgxmnbvcjhfr7lzch61i8sy25dgakji";
};
checkInputs = [
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py --replace "'pytest-runner'," ""
'';
pythonImportsCheck = [ "aiolip" ];
meta = with lib; {
description = "Python module for the Lutron Integration Protocol";
homepage = "https://github.com/bdraco/aiolip";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -301,6 +301,8 @@ in {
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
aiolip = callPackage ../development/python-modules/aiolip { };
aiolyric = callPackage ../development/python-modules/aiolyric { };
aiomultiprocess = callPackage ../development/python-modules/aiomultiprocess { };