python310Packages.sacn: add changelog to meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2022-12-09 08:59:23 +01:00 committed by GitHub
parent aeae4fa17d
commit 1801680ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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