Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / serialio / default.nix
blob2ee338c66631caf3380e834ee232bafb8b1a5007
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest-asyncio
5 , pytestCheckHook
6 , pythonOlder
7 , pyserial
8 , sockio
9 }:
11 buildPythonPackage rec {
12   pname = "serialio";
13   version = "2.4.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "tiagocoutinho";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-9TRGT0wpoRRcHqnH1XzlMBh0IcVzdEcOzN7hkeYnoW4=";
23   };
25   propagatedBuildInputs = [
26     pyserial
27     sockio
28   ];
30   # Module has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "serialio"
35   ];
37   meta = with lib; {
38     description = "Library for concurrency agnostic serial communication";
39     homepage = "https://github.com/tiagocoutinho/serialio";
40     license = with licenses; [ gpl3Plus ];
41     maintainers = with maintainers; [ fab ];
42   };