1{ lib, buildPythonPackage, fetchPypi, isPy3k
2, wrapGAppsHook, gobjectIntrospection, pygobject3, graphviz, gnome3 }:
3
4buildPythonPackage rec {
5 pname = "xdot";
6 version = "0.9";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "01v9vmgdxz1q2m2vq2b4aqx4ycw7grc0l4is673ygvyg9rk02dx3";
11 };
12
13 disabled = !isPy3k;
14
15 nativeBuildInputs = [ wrapGAppsHook ];
16 propagatedBuildInputs = [ gobjectIntrospection pygobject3 graphviz gnome3.gtk ];
17
18 meta = with lib; {
19 description = "xdot.py is an interactive viewer for graphs written in Graphviz's dot";
20 homepage = https://github.com/jrfonseca/xdot.py;
21 license = licenses.lgpl3Plus;
22 };
23}