8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
594 B
Nix
28 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;
|
|
};
|
|
|
|
}
|