2018-10-29 18:49:18 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, pyparsing
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dot2tex";
|
2019-07-16 09:37:47 +01:00
|
|
|
version = "2.11.3";
|
2018-10-29 18:49:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-16 09:37:47 +01:00
|
|
|
sha256 = "1kp77wiv7b5qib82i3y3sn9r49rym43aaqm5aw1bwnzfbbq2m6i9";
|
2018-10-29 18:49:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|