mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
python3Packages.aiolip: init at 1.1.4
This commit is contained in:
parent
089908b9db
commit
76019785f6
36
pkgs/development/python-modules/aiolip/default.nix
Normal file
36
pkgs/development/python-modules/aiolip/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user