1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "sacn";
9 version = "1.9.0";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-LimA0I8y1tdjFk244iWvKJj0Rx3OEaYOSIJtirRHh4o=";
17 };
18
19 # no tests
20 doCheck = false;
21
22 pythonImportsCheck = [
23 "sacn"
24 ];
25
26 meta = with lib; {
27 description = "A simple ANSI E1.31 (aka sACN) module";
28 homepage = "https://github.com/Hundemeier/sacn";
29 changelog = "https://github.com/Hundemeier/sacn/releases/tag/v${version}";
30 license = licenses.mit;
31 maintainers = with maintainers; [ hexa ];
32 };
33}