blob: fd8f46a968fe1894a83c283fa1dd7d54936ffda0 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pyserial-asyncio
}:
buildPythonPackage rec {
pname = "pyblackbird";
version = "0.5";
src = fetchFromGitHub {
owner = "koolsb";
repo = pname;
rev = version;
sha256 = "0m1yd1cb3z8011x7nicxpf091bdcwghcphn0l21c65f71rabzg6s";
};
propagatedBuildInputs = [
pyserial
pyserial-asyncio
];
# Test setup try to create a serial port
doCheck = false;
pythonImportsCheck = [ "pyblackbird" ];
meta = with lib; {
description = "Python implementation for Monoprice Blackbird units";
homepage = "https://github.com/koolsb/pyblackbird";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|