Merge pull request #275729 from danc86/gflanguages-0.5.13
python311Packages.gflanguages: 0.5.10 → 0.5.13
This commit is contained in:
commit
826a756f79
1 changed files with 19 additions and 13 deletions
|
@ -2,31 +2,42 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, protobuf
|
, protobuf
|
||||||
, setuptools-scm
|
|
||||||
, pythonRelaxDepsHook
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
|
, setuptools-scm
|
||||||
, uharfbuzz
|
, uharfbuzz
|
||||||
, youseedee
|
, youseedee
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gflanguages";
|
pname = "gflanguages";
|
||||||
version = "0.5.10";
|
version = "0.5.13";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-JVeI7TlJjbKCa+gGmjylbNiEhX3qmpbLXiH3VpFqgXc=";
|
hash = "sha256-LoppJHzX0dOpHnwMCyS1ACdIO4cqwb370ksvsXDFHzQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
# Relax the dependency on protobuf 3. Other packages in the Google Fonts
|
||||||
protobuf
|
# 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 = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
propagatedBuildInputs = [
|
||||||
|
protobuf
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pythonRelaxDepsHook
|
pythonRelaxDepsHook
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
@ -34,15 +45,10 @@ buildPythonPackage rec {
|
||||||
youseedee
|
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; {
|
meta = with lib; {
|
||||||
description = "Python library for Google Fonts language metadata";
|
description = "Python library for Google Fonts language metadata";
|
||||||
homepage = "https://github.com/googlefonts/lang";
|
homepage = "https://github.com/googlefonts/lang";
|
||||||
|
changelog = "https://github.com/googlefonts/lang/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ danc86 ];
|
maintainers = with maintainers; [ danc86 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue