From d7fde463ce2a6041098161403fd0c1a4e1c49f90 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 18 Oct 2024 22:20:54 +0200 Subject: [PATCH] python312Packages.gflanguages: add PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION --- pkgs/development/python-modules/gflanguages/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gflanguages/default.nix b/pkgs/development/python-modules/gflanguages/default.nix index 058f241d37d7..d01f8ec3cb29 100644 --- a/pkgs/development/python-modules/gflanguages/default.nix +++ b/pkgs/development/python-modules/gflanguages/default.nix @@ -14,6 +14,7 @@ buildPythonPackage rec { pname = "gflanguages"; version = "0.6.2"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -22,14 +23,14 @@ buildPythonPackage rec { hash = "sha256-v93mXDwHT/8Tau78ApLUR+dQCpL9jmRQp0BT5y/sfq4="; }; - pyproject = true; - # 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" ]; + env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python"; + build-system = [ setuptools setuptools-scm