2020-10-17 20:45:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sacn";
|
2021-04-28 00:45:43 +00:00
|
|
|
version = "1.6.4";
|
2020-10-17 20:45:56 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-28 00:45:43 +00:00
|
|
|
sha256 = "1abkalzpy8bj2hpx563bxii5h0gv9v89f0yp9clc1l76amyf6dj2";
|
2020-10-17 20:45:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sacn" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple ANSI E1.31 (aka sACN) module for python";
|
|
|
|
homepage = "https://github.com/Hundemeier/sacn";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|