blob: 8e14d32772a3dd72a8bc1268c49b7caab3aa3343 (
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
32
33
34
35
36
37
|
{
lib,
crownstone-core,
buildPythonPackage,
pyserial,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "crownstone-uart";
version = "2.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "crownstone";
repo = "crownstone-lib-python-uart";
rev = version;
hash = "sha256-Sc6BCIRbf1+GraTScmV4EAgwtSE/JXNe0f2XhKyACIY=";
};
propagatedBuildInputs = [
crownstone-core
pyserial
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "crownstone_uart" ];
meta = {
description = "Python module for communicating with Crownstone USB dongles";
homepage = "https://github.com/crownstone/crownstone-lib-python-uart";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|