about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dot2tex/default.nix
blob: 9d644c22eaf5a44d13507d3f8b01cb67ec470268 (plain) (blame)
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
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, pyparsing
}:

buildPythonPackage rec {
  pname = "dot2tex";
  version = "2.9.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "7d3e54add7dccdaeb6cc9e61ceaf7b587914cf8ebd6821cfea008acdc1e50d4a";
  };

  # Tests fail with 3.x. Furthermore, package is no longer maintained.
  disabled = isPy3k;

  propagatedBuildInputs = [ pyparsing ];

  meta = with stdenv.lib; {
    description = "Convert graphs generated by Graphviz to LaTeX friendly formats";
    homepage = "https://github.com/kjellmf/dot2tex";
    license = licenses.mit;
  };

}