1{ lib
2, buildPythonPackage
3, crc16
4, fetchPypi
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "pyoppleio";
10 version = "1.0.7";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-S1w3pPqhX903kkXUq9ALz0+zRvNGOimLughRRVKjV8E=";
18 };
19
20 propagatedBuildInputs = [
21 crc16
22 ];
23
24 # Module has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "pyoppleio"
29 ];
30
31 meta = with lib; {
32 description = "Library for interacting with OPPLE lights";
33 homepage = "https://github.com/jedmeng/python-oppleio";
34 license = with licenses; [ asl20 ];
35 maintainers = with maintainers; [ fab ];
36 };
37}