aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/fontmath/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/fontmath/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/fontmath/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/fontmath/default.nix b/nixpkgs/pkgs/development/python-modules/fontmath/default.nix
new file mode 100644
index 00000000000..7a23abdd037
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/fontmath/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildPythonPackage, fetchPypi
+, fonttools
+, pytest, pytestrunner
+}:
+
+buildPythonPackage rec {
+ pname = "fontMath";
+ version = "0.6.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "09xdqdjyjlx5k9ymi36d7hkgvn55zzjzd65l2yqidkfazlmh14ss";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ fonttools ];
+ checkInputs = [ pytest pytestrunner ];
+
+ meta = with lib; {
+ description = "A collection of objects that implement fast font, glyph, etc. math";
+ homepage = "https://github.com/robotools/fontMath/";
+ license = licenses.mit;
+ maintainers = [ maintainers.sternenseemann ];
+ };
+}