Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchPypi, defcon, fonttools, glyphslib, pytestCheckHook, setuptools, setuptools-scm, unicodedata2}:
buildPythonPackage rec { pname = "glyphsets"; version = "0.6.11"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-ACeD9O/kOE2we95gW4ak8504Y+azoqNyMeeVaWmEzak="; };
patches = [ # Upstream has a needlessly strict version range for setuptools_scm, our # setuptools-scm is newer. We can't use pythonRelaxDepsHook for this # because it's in setup_requires which means we'll fail the requirement # before pythonRelaxDepsHook can run. ./0001-relax-setuptools-scm-dep.patch ];
propagatedBuildInputs = [ defcon fonttools glyphslib setuptools unicodedata2 ]; nativeBuildInputs = [ setuptools-scm ];
doCheck = true; nativeCheckInputs = [ pytestCheckHook ]; preCheck = '' export PATH="$out/bin:$PATH" '';
meta = with lib; { description = "Google Fonts glyph set metadata"; homepage = "https://github.com/googlefonts/glyphsets"; license = licenses.asl20; maintainers = with maintainers; [ danc86 ]; };}