pythonPackages.fontparts: init at 0.9.2
This commit is contained in:
parent
e591c63a4f
commit
5db55e5106
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/fontparts/default.nix
Normal file
39
pkgs/development/python-modules/fontparts/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue