Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / cu2qu / default.nix
blobddad0b741b1eb81b7a24a10df824f978f3f1e145
1 { lib
2 , buildPythonPackage
3 , fetchPypi
5 # build
6 , cython
7 , setuptools-scm
8 , setuptools
10 # propagates
11 , defcon
12 , fonttools
14 # tests
15 , pytestCheckHook
18 let
19   pname = "cu2qu";
20   version = "1.6.7.post2";
22 buildPythonPackage rec {
23   inherit pname version;
24   format = "pyproject";
26   src = fetchPypi {
27     inherit pname version;
28     hash = "sha256-HfVi2ZvWBZImCI9ENwK/Uc/djMY2I/IxN0WaeNe/WAg=";
29     extension = "zip";
30   };
32   nativeBuildInputs = [
33     cython
34     setuptools
35     setuptools-scm
36   ];
38   propagatedBuildInputs = [
39     defcon
40     fonttools
41   ] ++ fonttools.optional-dependencies.ufo;
43   nativeCheckInputs = [
44     pytestCheckHook
45   ];
47   meta = with lib; {
48     changelog = "https://github.com/googlefonts/cu2qu/releases/tag/v${version}";
49     description = "Cubic-to-quadratic bezier curve conversion";
50     homepage = "https://github.com/googlefonts/cu2qu";
51     license = licenses.asl20;
52     maintainers = with maintainers; [ ];
53   };