1{ lib, buildPythonPackage, fetchPypi, isPy27
2, fonttools, setuptools-scm
3, pytest, pytest-runner
4}:
5
6buildPythonPackage rec {
7 pname = "fontMath";
8 version = "0.9.2";
9 disabled = isPy27;
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-TIsccR4cv0upPD0IQ5NbBmGXMTEmGvCGCL3hfeEBhAQ=";
14 extension = "zip";
15 };
16
17 nativeBuildInputs = [ setuptools-scm ];
18
19 propagatedBuildInputs = [ fonttools ];
20 checkInputs = [ pytest pytest-runner ];
21
22 meta = with lib; {
23 description = "A collection of objects that implement fast font, glyph, etc. math";
24 homepage = "https://github.com/robotools/fontMath/";
25 license = licenses.mit;
26 maintainers = [ maintainers.sternenseemann ];
27 };
28}