1{ lib, buildPythonPackage, fetchPypi, pythonOlder
2, fonttools
3, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
4}:
5
6buildPythonPackage rec {
7 pname = "defcon";
8 version = "0.7.2";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "1lfqsvxmq1j0nvp26gidnqkj1dyxv7jalc6i7fz1r3nc7niflrqr";
13 extension = "zip";
14 };
15
16 propagatedBuildInputs = [
17 fonttools
18 ];
19
20 checkInputs = [
21 pytest
22 pytestrunner
23 lxml
24 fs
25 unicodedata2
26 fontpens
27 ];
28
29 meta = with lib; {
30 description = "A set of UFO based objects for use in font editing applications";
31 homepage = "https://github.com/robotools/defcon";
32 license = licenses.mit;
33 maintainers = [ maintainers.sternenseemann ];
34 };
35}