pythonPackages.fontpens: init at 0.2.4
This commit is contained in:
parent
3f53134108
commit
47addc60d5
38
pkgs/development/python-modules/fontpens/default.nix
Normal file
38
pkgs/development/python-modules/fontpens/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, fonttools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fontPens";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1za15dzsnymq6d9x7xdfqwgw4a3003wj75fn2crhyidkfd2s3nd6";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fonttools ];
|
||||
|
||||
# can't run normal tests due to circular dependency with fontParts
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "fontPens" ] ++ (builtins.map (s: "fontPens." + s) [
|
||||
"angledMarginPen"
|
||||
"digestPointPen"
|
||||
"flattenPen"
|
||||
"guessSmoothPointPen"
|
||||
"marginPen"
|
||||
"penTools"
|
||||
"printPen"
|
||||
"printPointPen"
|
||||
"recordingPointPen"
|
||||
"thresholdPen"
|
||||
"thresholdPointPen"
|
||||
"transformPointPen"
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of classes implementing the pen protocol for manipulating glyphs";
|
||||
homepage = "https://github.com/robotools/fontPens";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
@ -4140,6 +4140,8 @@ in {
|
||||
inherit python;
|
||||
}));
|
||||
|
||||
fontpens = callPackage ../development/python-modules/fontpens { };
|
||||
|
||||
fonttools = callPackage ../development/python-modules/fonttools { };
|
||||
|
||||
foolscap = callPackage ../development/python-modules/foolscap { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user