summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyw800rf32/default.nix
blob: b7a9b73b4640c4ddc926b25ea6e688072ac6c268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  pyserial,
}:

buildPythonPackage rec {
  pname = "pyW800rf32";
  version = "0.4";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-i0XXqohKY5pWIjcOCUxUQdx/FSSqgTnTaWcDxnIYjMk=";
  };

  build-system = [ setuptools ];

  dependencies = [ pyserial ];

  pythonImportsCheck = [ "W800rf32" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    description = "Python library to communicate with the W800rf32 family of devices";
    homepage = "https://github.com/horga83/pyW800rf32";
    license = lib.licenses.lgpl3Plus;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}