blob: 882c761d191e6d0d05d81b2f82dd75e5ab0af9a7 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
wheel,
# dependencies
pyserial,
# tests
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "pyserial-asyncio-fast";
version = "0.12";
pyproject = true;
src = fetchFromGitHub {
owner = "bdraco";
repo = "pyserial-asyncio-fast";
rev = version;
hash = "sha256-37dbJq+9Ex+/uiRR2esgOP15CjySA0MLvxnjiPDTF08=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [ pyserial ];
pythonImportsCheck = [ "serial_asyncio_fast" ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
meta = with lib; {
description = "Fast asyncio extension package for pyserial that implements eager writes";
homepage = "https://github.com/bdraco/pyserial-asyncio-fast";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
}
|