2018-04-22 08:55:10 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2019-06-16 20:59:06 +01:00
|
|
|
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3 }:
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xdot";
|
2020-11-29 14:04:46 +00:00
|
|
|
version = "1.2";
|
2018-02-19 22:25:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:46 +00:00
|
|
|
sha256 = "3df91e6c671869bd2a6b2a8883fa3476dbe2ba763bd2a7646cf848a9eba71b70";
|
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 ];
|
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; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "An interactive viewer for graphs written in Graphviz's dot";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jrfonseca/xdot.py";
|
2018-02-19 22:25:14 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
};
|
|
|
|
}
|