about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyserial-asyncio/default.nix
blob: c7990adb46431d14b41694053d3e22ebbd9e2e92 (plain) (blame)
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
, pythonOlder
, pyserial
}:

buildPythonPackage rec {
  pname = "pyserial-asyncio";
  version = "0.6";

  disabled = pythonOlder "3.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-tgMpI+BenXXsF6WvmphCnEbSg5rfr4BgTVLg+qzXoy8=";
  };

  propagatedBuildInputs = [
    pyserial
  ];

  pythonImportsCheck = [
    "serial_asyncio"
  ];

  meta = with lib; {
    description = "Asyncio extension package for pyserial";
    homepage = "https://github.com/pyserial/pyserial-asyncio";
    license = licenses.bsd3;
    maintainers = with maintainers; [ etu ];
    platforms = platforms.linux;
  };
}