nixpkgs/pkgs/development/python-modules/sacn/default.nix
2021-08-19 18:29:36 +00:00

28 lines
566 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "sacn";
version = "1.8.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "cdc9af732f4ca5badbf732499775575c4f815c73f857720c0a61a3fc80257f7a";
};
# 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 ];
};
}