Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fontmath / default.nix
blob81e70c51fee38debb68ead7dccf26d8d4765d462
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fonttools
5 , setuptools-scm
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "fontmath";
12   version = "0.9.3";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "fontMath";
19     inherit version;
20     hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw=";
21     extension = "zip";
22   };
24   nativeBuildInputs = [
25     setuptools-scm
26   ];
28   propagatedBuildInputs = [
29     fonttools
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   meta = with lib; {
37     description = "A collection of objects that implement fast font, glyph, etc. math";
38     homepage = "https://github.com/robotools/fontMath/";
39     changelog = "https://github.com/robotools/fontMath/releases/tag/${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ sternenseemann ];
42   };