linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / aiokef / default.nix
blobc153ff37d8c256065b65c026485ca288f8f3baed
1 { lib
2 , async-timeout
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytest-cov
6 , pytestCheckHook
7 , pytest-mypy
8 , pythonOlder
9 , tenacity
12 buildPythonPackage rec {
13   pname = "aiokef";
14   version = "0.2.17";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "basnijholt";
19     repo = pname;
20     rev = "v${version}";
21     sha256 = "0ms0dwrpj80w55svcppbnp7vyl5ipnjfp1c436k5c7pph4q5pxk9";
22   };
24   propagatedBuildInputs = [
25     async-timeout
26     tenacity
27   ];
29   checkInputs = [
30     pytest-cov
31     pytest-mypy
32     pytestCheckHook
33   ];
35   pytestFlagsArray = [ "tests" ];
36   pythonImportsCheck = [ "aiokef" ];
38   meta = with lib; {
39     description = "Python API for KEF speakers";
40     homepage = "https://github.com/basnijholt/aiokef";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };