linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / wled / default.nix
blob92dbc210c6de59992aeb0b389f4a9e70fd426fe8
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , aiohttp
6 , backoff
7 , packaging
8 , yarl
9 , aresponses
10 , pytest-asyncio
11 , pytestCheckHook
14 buildPythonPackage rec {
15   pname = "wled";
16   version = "0.4.4";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "frenck";
21     repo = "python-wled";
22     rev = "v${version}";
23     sha256 = "1adh23v4c9kia3ddqdq0brksd5rhgh4ff7l5hil8klx4dmkrjfz3";
24   };
26   propagatedBuildInputs = [
27     aiohttp
28     backoff
29     packaging
30     yarl
31   ];
33   checkInputs = [
34     aresponses
35     pytest-asyncio
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "wled" ];
41   meta = with lib; {
42     description = "Asynchronous Python client for WLED";
43     homepage = "https://github.com/frenck/python-wled";
44     license = licenses.mit;
45     maintainers = with maintainers; [ hexa ];
46   };