python3Packages.aiokef: init at 0.2.17

This commit is contained in:
Fabian Affolter 2021-01-13 15:14:30 +01:00
parent b451286b1f
commit 1a0e5c95cc
2 changed files with 46 additions and 0 deletions

View 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 ];
};
}

View file

@ -242,6 +242,8 @@ in {
aiokafka = callPackage ../development/python-modules/aiokafka { };
aiokef = callPackage ../development/python-modules/aiokef { };
aiolifx = callPackage ../development/python-modules/aiolifx { };
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };