python312Packages.glyphsets: add PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
defcon,
|
||||
fetchPypi,
|
||||
fonttools,
|
||||
gflanguages,
|
||||
glyphslib,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
requests,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
unicodedata2,
|
||||
}:
|
||||
|
||||
@@ -19,11 +20,15 @@ buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-fa+W1IGIZcn1P1xNKm1Yb/TOuf4QdDVnIvlDkOLOcLY=";
|
||||
};
|
||||
|
||||
env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "setuptools_scm>=8.0.4,<8.1" "setuptools_scm"
|
||||
@@ -57,9 +62,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Fonts glyph set metadata";
|
||||
mainProgram = "glyphsets";
|
||||
homepage = "https://github.com/googlefonts/glyphsets";
|
||||
changelog = "https://github.com/googlefonts/glyphsets/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ danc86 ];
|
||||
mainProgram = "glyphsets";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user