Merge pull request #333350 from r-ryantm/auto-update/python312Packages.axisregistry

python312Packages.axisregistry: 0.4.10 -> 0.4.11
This commit is contained in:
Fabian Affolter 2024-08-09 22:31:27 +02:00 committed by GitHub
commit 2d5e396d93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,38 +6,42 @@
protobuf,
pytestCheckHook,
setuptools-scm,
pythonOlder,
}:
buildPythonPackage rec {
pname = "axisregistry";
version = "0.4.10";
format = "setuptools";
version = "0.4.11";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/N67VDr1ZFDRmZsxYCFT+KdUmc2ElgGNd8ljGWC5V0U=";
hash = "sha256-p1/ocmWqrCJ4CylRgen/DR0LeqcwIxB1jAauJbw8ygY=";
};
propagatedBuildInputs = [
fonttools
protobuf
];
nativeBuildInputs = [
setuptools-scm
];
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
# Relax the dependency on protobuf 3. Other packages in the Google Fonts
# ecosystem have begun upgrading from protobuf 3 to protobuf 4,
# so we need to use protobuf 4 here as well to avoid a conflict
# in the closure of fontbakery. It seems to be compatible enough.
pythonRelaxDeps = [ "protobuf" ];
build-system = [ setuptools-scm ];
dependencies = [
fonttools
protobuf
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "axisregistry" ];
meta = with lib; {
description = "Google Fonts registry of OpenType variation axis tags";
homepage = "https://github.com/googlefonts/axisregistry";
changelog = "https://github.com/googlefonts/axisregistry/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};