2018-04-22 07:55:10 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2019-06-16 19:59:06 +00:00
|
|
|
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3 }:
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xdot";
|
2019-04-17 17:52:23 +00:00
|
|
|
version = "1.1";
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-17 17:52:23 +00:00
|
|
|
sha256 = "0cr4rh7dz4dfzyxrk5pzhm0d15gkrgkfp3i5lw178xy81pc56p71";
|
2018-02-19 22:25:14 +00:00
|
|
|
};
|
|
|
|
|
2018-04-22 07:55:10 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-02-19 22:25:14 +00:00
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
2019-03-09 11:41:12 +00:00
|
|
|
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 ];
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "xdot.py is an interactive viewer for graphs written in Graphviz's dot";
|
|
|
|
homepage = https://github.com/jrfonseca/xdot.py;
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
};
|
|
|
|
}
|