nixpkgs/pkgs/development/python-modules/sacn/default.nix
Fabian Affolter 1801680ba2
python310Packages.sacn: add changelog to meta
- disable on unsupported Python releases
2022-12-09 08:59:23 +01:00

34 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 ];
};
}