1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pyserial,
7}:
8
9buildPythonPackage rec {
10 pname = "pyW800rf32";
11 version = "0.4";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-i0XXqohKY5pWIjcOCUxUQdx/FSSqgTnTaWcDxnIYjMk=";
17 };
18
19 build-system = [ setuptools ];
20
21 dependencies = [ pyserial ];
22
23 pythonImportsCheck = [ "W800rf32" ];
24
25 # upstream has no tests
26 doCheck = false;
27
28 meta = {
29 description = "Python library to communicate with the W800rf32 family of devices";
30 homepage = "https://github.com/horga83/pyW800rf32";
31 license = lib.licenses.lgpl3Plus;
32 maintainers = [ lib.maintainers.jamiemagee ];
33 };
34}