Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fonttools, 6 setuptools-scm, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "fontmath"; 13 version = "0.9.3"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 pname = "fontMath"; 20 inherit version; 21 hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw="; 22 extension = "zip"; 23 }; 24 25 nativeBuildInputs = [ setuptools-scm ]; 26 27 propagatedBuildInputs = [ fonttools ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 meta = with lib; { 32 description = "Collection of objects that implement fast font, glyph, etc. math"; 33 homepage = "https://github.com/robotools/fontMath/"; 34 changelog = "https://github.com/robotools/fontMath/releases/tag/${version}"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ sternenseemann ]; 37 }; 38}