summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyspinel/default.nix
blob: 4bb44ce60c2ce7b2e717da7447182b9344a7730e (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pyserial,
}:

buildPythonPackage {
  pname = "pyspinel";
  version = "unstable-2021-08-19";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "openthread";
    repo = "pyspinel";
    rev = "50d104e29eacd92d229f0b7179ec1067f5851c17";
    sha256 = "0s2r00zb909cq3dd28i91qbl0nz8cga3g98z84gq5jqkjpiy8269";
  };

  propagatedBuildInputs = [ pyserial ];

  # Tests are out-dated
  doCheck = false;

  pythonImportsCheck = [ "spinel" ];

  meta = {
    description = "Interface to the OpenThread Network Co-Processor (NCP)";
    homepage = "https://github.com/openthread/pyspinel";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}