15 buildPythonPackage rec {
16 pname = "gflanguages";
20 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-gjWV1T+XU2qKzohDNq1RlZgh8GgRVrSGhpwrXTuTPtE=";
27 # Relax the dependency on protobuf 3. Other packages in the Google Fonts
28 # ecosystem have begun upgrading from protobuf 3 to protobuf 4,
29 # so we need to use protobuf 4 here as well to avoid a conflict
30 # in the closure of fontbakery. It seems to be compatible enough.
31 pythonRelaxDeps = [ "protobuf" ];
33 env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
52 pythonImportsCheck = [ "gflanguages" ];
56 "test_exemplars_are_in_script"
57 "test_sample_texts_are_in_script"
61 description = "Python library for Google Fonts language metadata";
62 homepage = "https://github.com/googlefonts/lang";
63 changelog = "https://github.com/googlefonts/lang/releases/tag/v${version}";
64 license = licenses.asl20;
65 maintainers = with maintainers; [ danc86 ];