1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "lw12";
10 version = "0.9.2";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "jaypikay";
15 repo = "python-lw12";
16 tag = "v${version}";
17 hash = "sha256-6zZolUfs1SzCH0DT2YYuP4eXt8Hxv+TYIDgLnR51MAQ=";
18 };
19
20 build-system = [ setuptools ];
21
22 # Tests require hardware access
23 doCheck = false;
24
25 meta = {
26 description = "Library to control the Lagute LW-12 WiFi LED controller";
27 homepage = "https://github.com/jaypikay/python-lw12";
28 license = lib.licenses.mit;
29 maintainers = [ lib.maintainers.jamiemagee ];
30 };
31}