2020-10-17 21:45:56 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sacn";
|
2021-04-28 01:45:43 +01:00
|
|
|
version = "1.6.4";
|
2020-10-17 21:45:56 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-28 01:45:43 +01:00
|
|
|
sha256 = "1abkalzpy8bj2hpx563bxii5h0gv9v89f0yp9clc1l76amyf6dj2";
|
2020-10-17 21:45:56 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|