Merge pull request #109282 from fabaff/aiokef
This commit is contained in:
commit
c99459e02f
44
pkgs/development/python-modules/aiokef/default.nix
Normal file
44
pkgs/development/python-modules/aiokef/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ lib
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-cov
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-mypy
|
||||||
|
, pythonOlder
|
||||||
|
, tenacity
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aiokef";
|
||||||
|
version = "0.2.17";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "basnijholt";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0ms0dwrpj80w55svcppbnp7vyl5ipnjfp1c436k5c7pph4q5pxk9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
async-timeout
|
||||||
|
tenacity
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-cov
|
||||||
|
pytest-mypy
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [ "tests" ];
|
||||||
|
pythonImportsCheck = [ "aiokef" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API for KEF speakers";
|
||||||
|
homepage = "https://github.com/basnijholt/aiokef";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -413,7 +413,7 @@
|
|||||||
"kankun" = ps: with ps; [ ];
|
"kankun" = ps: with ps; [ ];
|
||||||
"keba" = ps: with ps; [ ]; # missing inputs: keba-kecontact
|
"keba" = ps: with ps; [ ]; # missing inputs: keba-kecontact
|
||||||
"keenetic_ndms2" = ps: with ps; [ ]; # missing inputs: ndms2_client
|
"keenetic_ndms2" = ps: with ps; [ ]; # missing inputs: ndms2_client
|
||||||
"kef" = ps: with ps; [ getmac ]; # missing inputs: aiokef
|
"kef" = ps: with ps; [ aiokef getmac ];
|
||||||
"keyboard" = ps: with ps; [ ]; # missing inputs: pyuserinput
|
"keyboard" = ps: with ps; [ ]; # missing inputs: pyuserinput
|
||||||
"keyboard_remote" = ps: with ps; [ aionotify evdev ];
|
"keyboard_remote" = ps: with ps; [ aionotify evdev ];
|
||||||
"kira" = ps: with ps; [ ]; # missing inputs: pykira
|
"kira" = ps: with ps; [ ]; # missing inputs: pykira
|
||||||
|
@ -242,6 +242,8 @@ in {
|
|||||||
|
|
||||||
aiokafka = callPackage ../development/python-modules/aiokafka { };
|
aiokafka = callPackage ../development/python-modules/aiokafka { };
|
||||||
|
|
||||||
|
aiokef = callPackage ../development/python-modules/aiokef { };
|
||||||
|
|
||||||
aiolifx = callPackage ../development/python-modules/aiolifx { };
|
aiolifx = callPackage ../development/python-modules/aiolifx { };
|
||||||
|
|
||||||
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
|
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
|
||||||
|
Loading…
Reference in New Issue
Block a user