about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/asyncserial/default.nix
blob: a40d31510c4062747b78bc815264abedace0e8d9 (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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
}:

buildPythonPackage rec {
  pname = "asyncserial";
  version = "unstable-2022-06-10";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "m-labs";
    repo = "asyncserial";
    rev = "446559fec892a556876b17d17f182ae9647d5952";
    hash = "sha256-WExmgh55sTH2w7wV3i96J1F1FN7L5rX3L/Ayvt2Kw/g=";
  };

  propagatedBuildInputs = [
    pyserial
  ];

  pythonImportsCheck = [ "asyncserial" ];

  meta = with lib; {
    description = "asyncio support for pyserial";
    homepage = "https://github.com/m-labs/asyncserial";
    license = licenses.bsd2;
    maintainers = with maintainers; [ doronbehar ];
  };
}