blob: 2ee338c66631caf3380e834ee232bafb8b1a5007 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pyserial
, sockio
}:
buildPythonPackage rec {
pname = "serialio";
version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tiagocoutinho";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-9TRGT0wpoRRcHqnH1XzlMBh0IcVzdEcOzN7hkeYnoW4=";
};
propagatedBuildInputs = [
pyserial
sockio
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"serialio"
];
meta = with lib; {
description = "Library for concurrency agnostic serial communication";
homepage = "https://github.com/tiagocoutinho/serialio";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}
|