pythonPackages.fontparts: init at 0.9.2

This commit is contained in:
sternenseemann 2020-08-25 17:27:42 +02:00 committed by Jon
parent e591c63a4f
commit 5db55e5106
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib, buildPythonPackage, fetchPypi, python
, fonttools, lxml, fs, unicodedata2
, defcon, fontpens, fontmath, booleanoperations
, pytest
}:
buildPythonPackage rec {
pname = "fontParts";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "0hwzdppmrrw1xz49x36h6mcsrwya1f3zpqrc206y73j4pbn7fh0k";
extension = "zip";
};
propagatedBuildInputs = [
booleanoperations
fonttools
unicodedata2 # fonttools[unicode] extra
lxml # fonttools[lxml] extra
fs # fonttools[ufo] extra
defcon
fontpens # defcon[pens] extra
fontmath
];
checkPhase = ''
${python.interpreter} Lib/fontParts/fontshell/test.py
'';
checkInputs = [ pytest ];
meta = with lib; {
description = "An API for interacting with the parts of fonts during the font development process.";
homepage = "https://github.com/robotools/fontParts";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
};
}

View file

@ -4148,6 +4148,8 @@ in {
fontmath = callPackage ../development/python-modules/fontmath { };
fontparts = callPackage ../development/python-modules/fontparts { };
fonttools = callPackage ../development/python-modules/fonttools { };
foolscap = callPackage ../development/python-modules/foolscap { };