2018-04-22 08:55:10 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2018-12-02 11:41:15 +00:00
|
|
|
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gnome3 }:
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xdot";
|
2018-10-24 03:46:24 +01:00
|
|
|
version = "1.0";
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 03:46:24 +01:00
|
|
|
sha256 = "18a2ri8vggaxy7im1x9hki34v519y5jy4n07zpqq5br9syb7h1ky";
|
2018-02-19 22:25:14 +00:00
|
|
|
};
|
|
|
|
|
2018-04-22 08:55:10 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-02-19 22:25:14 +00:00
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
2018-12-02 11:41:15 +00:00
|
|
|
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gnome3.gtk ];
|
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;
|
|
|
|
};
|
|
|
|
}
|