2020-10-17 20:45:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sacn";
|
2021-08-19 18:29:36 +00:00
|
|
|
version = "1.8.1";
|
2020-10-17 20:45:56 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-19 18:29:36 +00:00
|
|
|
sha256 = "cdc9af732f4ca5badbf732499775575c4f815c73f857720c0a61a3fc80257f7a";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|