summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aioserial/default.nix
blob: 3bcd2cc99c22418ef9f727d9b2b4c97cf90c3269 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pyserial,
}:

buildPythonPackage rec {
  pname = "aioserial";
  version = "1.3.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-cCvwOw64S47y2NrFy5JeHmhdzpj3exJVabxv0rO1gig=";
  };

  propagatedBuildInputs = [ pyserial ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "aioserial" ];

  meta = {
    description = "Python module for async serial communication";
    homepage = "https://github.com/changyuheng/aioserial";
    license = lib.licenses.mpl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}