python3Packages.gflanguages: convert to PEP-517 style

This commit is contained in:
Dan Callaghan 2024-04-01 13:33:27 +11:00
parent 23c63d447d
commit 768656bb8a
1 changed files with 6 additions and 3 deletions

View File

@ -5,6 +5,7 @@
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, setuptools
, setuptools-scm
, uharfbuzz
, youseedee
@ -13,7 +14,6 @@
buildPythonPackage rec {
pname = "gflanguages";
version = "0.5.17";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -22,6 +22,8 @@ buildPythonPackage rec {
hash = "sha256-dScgRQ6usjSqV0FqDyP+KGvHL06wlTFVcO+MmZ2NMAs=";
};
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
@ -30,11 +32,12 @@ buildPythonPackage rec {
"protobuf"
];
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
protobuf
];