aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/defcon/default.nix
blob: 25c59029992244425ae0cc60a94405dec2fe371d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, fonttools
, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
}:

buildPythonPackage rec {
  pname = "defcon";
  version = "0.7.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1lfqsvxmq1j0nvp26gidnqkj1dyxv7jalc6i7fz1r3nc7niflrqr";
    extension = "zip";
  };

  propagatedBuildInputs = [
    fonttools
  ];

  checkInputs = [
    pytest
    pytestrunner
    lxml
    fs
    unicodedata2
    fontpens
  ];

  meta = with lib; {
    description = "A set of UFO based objects for use in font editing applications";
    homepage = "https://github.com/robotools/defcon";
    license = licenses.mit;
    maintainers = [ maintainers.sternenseemann ];
  };
}