depot/third_party/nixpkgs/pkgs/development/python-modules/sacn/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

33 lines
667 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "sacn";
version = "1.9.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-LimA0I8y1tdjFk244iWvKJj0Rx3OEaYOSIJtirRHh4o=";
};
# no tests
doCheck = false;
pythonImportsCheck = [
"sacn"
];
meta = with lib; {
description = "A simple ANSI E1.31 (aka sACN) module";
homepage = "https://github.com/Hundemeier/sacn";
changelog = "https://github.com/Hundemeier/sacn/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}