Merge pull request #275729 from danc86/gflanguages-0.5.13

python311Packages.gflanguages: 0.5.10 → 0.5.13
This commit is contained in:
Fabian Affolter 2023-12-21 14:17:57 +01:00 committed by GitHub
commit 826a756f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,31 +2,42 @@
, buildPythonPackage
, fetchPypi
, protobuf
, setuptools-scm
, pythonRelaxDepsHook
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, setuptools-scm
, uharfbuzz
, youseedee
}:
buildPythonPackage rec {
pname = "gflanguages";
version = "0.5.10";
version = "0.5.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JVeI7TlJjbKCa+gGmjylbNiEhX3qmpbLXiH3VpFqgXc=";
hash = "sha256-LoppJHzX0dOpHnwMCyS1ACdIO4cqwb370ksvsXDFHzQ=";
};
propagatedBuildInputs = [
protobuf
# 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"
];
nativeBuildInputs = [
setuptools-scm
];
doCheck = true;
propagatedBuildInputs = [
protobuf
];
nativeCheckInputs = [
pythonRelaxDepsHook
pytestCheckHook
@ -34,15 +45,10 @@ buildPythonPackage rec {
youseedee
];
# 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" ];
meta = with lib; {
description = "Python library for Google Fonts language metadata";
homepage = "https://github.com/googlefonts/lang";
changelog = "https://github.com/googlefonts/lang/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};