Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / defcon / default.nix
blob100c7ee6fc1feaf00586ed32848cf9779bf9adec
1 { lib, buildPythonPackage, fetchPypi, pythonOlder
2 , fonttools, setuptools-scm
3 , pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
4 }:
6 buildPythonPackage rec {
7   pname = "defcon";
8   version = "0.8.1";
10   disabled = pythonOlder "3.6";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "1sj9yhwkyvzchglpy07pkx5362mwlap581ibv150b5l9s5mxn2j1";
15     extension = "zip";
16   };
18   nativeBuildInputs = [
19     setuptools-scm
20   ];
22   propagatedBuildInputs = [
23     fonttools
24   ];
26   checkInputs = [
27     pytest
28     pytestrunner
29     lxml
30     fs
31     unicodedata2
32     fontpens
33   ];
35   meta = with lib; {
36     description = "A set of UFO based objects for use in font editing applications";
37     homepage = "https://github.com/robotools/defcon";
38     license = licenses.mit;
39     maintainers = [ maintainers.sternenseemann ];
40   };