blob: 4487647ca81d8561f26b41ef4962981c62e6e703 (
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
|
{ lib
, buildPythonPackage
, crc16
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyoppleio";
version = "1.0.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-S1w3pPqhX903kkXUq9ALz0+zRvNGOimLughRRVKjV8E=";
};
propagatedBuildInputs = [
crc16
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pyoppleio"
];
meta = with lib; {
description = "Library for interacting with OPPLE lights";
mainProgram = "oppleio";
homepage = "https://github.com/jedmeng/python-oppleio";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
|