1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6}:
7
8buildPythonPackage rec {
9 pname = "pyeverlights";
10 version = "0.1.0";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "joncar";
15 repo = "pyeverlights";
16 rev = version;
17 sha256 = "16xpq933j8yydq78fnf4f7ivyw5a45ix4mfycpmm91aj549p6pm0";
18 };
19
20 propagatedBuildInputs = [ aiohttp ];
21
22 # no tests are present
23 doCheck = false;
24 pythonImportsCheck = [ "pyeverlights" ];
25
26 meta = with lib; {
27 description = "Python module for interfacing with an EverLights control box";
28 homepage = "https://github.com/joncar/pyeverlights";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}