29 lines
594 B
Nix
29 lines
594 B
Nix
|
{ stdenv
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, isPy3k
|
||
|
, pyparsing
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "dot2tex";
|
||
|
version = "2.11.3";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "1kp77wiv7b5qib82i3y3sn9r49rym43aaqm5aw1bwnzfbbq2m6i9";
|
||
|
};
|
||
|
|
||
|
# 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;
|
||
|
};
|
||
|
|
||
|
}
|