Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchPypi, fonttools, protobuf, pytestCheckHook, pythonOlder, setuptools-scm,}:
buildPythonPackage rec { pname = "axisregistry"; version = "0.4.12"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-d60VbzlDiAL+J8sCE0sp2RgB02WGrigqcdzqW55ex1s="; };
# 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-scm ];
dependencies = [ fonttools protobuf ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "axisregistry" ];
meta = with lib; { description = "Google Fonts registry of OpenType variation axis tags"; homepage = "https://github.com/googlefonts/axisregistry"; changelog = "https://github.com/googlefonts/axisregistry/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ danc86 ]; };}