gfmetadata: init at 0.2.5

This commit is contained in:
jopejoe1
2026-08-09 15:53:34 +02:00
parent b78ee463a4
commit 0bc0437683
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
protobuf,
}:
buildPythonPackage (finalAttrs: {
pname = "gfmetadata";
version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "googlefonts";
repo = "gf-metadata";
tag = "v${finalAttrs.version}";
hash = "sha256-NJ/ppuodGwuEi0wC31lMAwJLY+/jgUMANm47iMrD3no=";
};
build-system = [
setuptools-scm
setuptools
];
dependencies = [
protobuf
];
pythonImportsCheck = [ "gfmetadata" ];
meta = {
description = "Python API for interacting with Google Fonts protobuf definitions";
homepage = "https://github.com/googlefonts/gf-metadata";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jopejoe1 ];
};
})

View File

@@ -6759,6 +6759,8 @@ self: super: with self; {
gflanguages = callPackage ../development/python-modules/gflanguages { };
gfmetadata = callPackage ../development/python-modules/gfmetadata { };
gfsubsets = callPackage ../development/python-modules/gfsubsets { };
gftools = callPackage ../development/python-modules/gftools { };