12 buildPythonPackage rec {
13 pname = "axisregistry";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-p1/ocmWqrCJ4CylRgen/DR0LeqcwIxB1jAauJbw8ygY=";
24 # Relax the dependency on protobuf 3. Other packages in the Google Fonts
25 # ecosystem have begun upgrading from protobuf 3 to protobuf 4,
26 # so we need to use protobuf 4 here as well to avoid a conflict
27 # in the closure of fontbakery. It seems to be compatible enough.
28 pythonRelaxDeps = [ "protobuf" ];
30 env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
32 build-system = [ setuptools-scm ];
39 nativeCheckInputs = [ pytestCheckHook ];
41 pythonImportsCheck = [ "axisregistry" ];
44 description = "Google Fonts registry of OpenType variation axis tags";
45 homepage = "https://github.com/googlefonts/axisregistry";
46 changelog = "https://github.com/googlefonts/axisregistry/blob/v${version}/CHANGELOG.md";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ danc86 ];