linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pyspinel / default.nix
blobdcd35132c2ed03bfa42993a69aff7c1e34532226
1 { lib, buildPythonPackage, fetchFromGitHub, isPy27
2 , future, pyserial, ipaddress
3 }:
5 buildPythonPackage rec {
6   pname = "pyspinel";
7   version = "unstable-2020-06-19";  # no versioned release since 2018
8   disabled = isPy27;
10   src = fetchFromGitHub {
11     owner = "openthread";
12     repo = pname;
13     rev = "e0bb3f8e6f49b593ab248a75de04a71626ae8101";
14     sha256 = "0nfmdkgbhmkl82dfxjpwiiarxngm6a3fvdrzpaqp60a4b17pipqg";
15   };
17   propagatedBuildInputs = [
18     future
19     ipaddress
20     pyserial
21   ];
23   doCheck = false;
24   pythonImportsCheck = [ "spinel" ];
26   meta = with lib; {
27     description = "Interface to the OpenThread Network Co-Processor (NCP)";
28     homepage = "https://github.com/openthread/pyspinel";
29     license = licenses.asl20;
30     maintainers = with maintainers; [ gebner ];
31   };