Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 71 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, buildPythonPackage, fetchFromGitHub, cu2qu, defcon, fontfeatures, fonttools, glyphslib, openstep-plist, orjson, pytestCheckHook, setuptools, setuptools-scm, ufolib2, ufomerge, vfblib,}:
buildPythonPackage rec { pname = "babelfont"; version = "3.1.3"; pyproject = true;
# PyPI source tarballs omit tests, fetch from Github instead src = fetchFromGitHub { owner = "simoncozens"; repo = "babelfont"; tag = "v${version}"; hash = "sha256-wCJNJZqjMm0M00F9/kd/g97+DRdRPTn03Nk3rnh7me4="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ cu2qu fontfeatures fonttools glyphslib openstep-plist orjson ufolib2 ufomerge vfblib ];
nativeCheckInputs = [ defcon pytestCheckHook ];
# Want non existing test data disabledTests = [ "test_rename" "test_rename_nested" "test_rename_contextual" ];
disabledTestPaths = [ "tests/test_glyphs3_roundtrip.py" ];
meta = with lib; { description = "Python library to load, examine, and save fonts in a variety of formats"; mainProgram = "babelfont"; homepage = "https://github.com/simoncozens/babelfont"; license = licenses.bsd3; maintainers = with maintainers; [ danc86 ]; };}