about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fontmath
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-08-25 17:26:26 +0200
committerJon <jonringer@users.noreply.github.com>2020-08-30 10:17:23 -0700
commit61b57f0781e79150c3c7807030aa2d41c9ffa5ae (patch)
tree9e7c95ce31d77bf073f78c19f01b12ada7832f96 /pkgs/development/python-modules/fontmath
parent47addc60d5ba79166232e13c6a6510396a1038fd (diff)
pythonPackages.fontmath: init at 0.6.0
Diffstat (limited to 'pkgs/development/python-modules/fontmath')
-rw-r--r--pkgs/development/python-modules/fontmath/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fontmath/default.nix b/pkgs/development/python-modules/fontmath/default.nix
new file mode 100644
index 0000000000000..7a23abdd03745
--- /dev/null
+++ b/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 ];
+  };
+}