nixpkgs-suyu/pkgs/development/python-modules/xdot/default.nix

24 lines
650 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy3k
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3 }:
2018-02-19 23:25:14 +01:00
buildPythonPackage rec {
pname = "xdot";
version = "1.1";
2018-02-19 23:25:14 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0cr4rh7dz4dfzyxrk5pzhm0d15gkrgkfp3i5lw178xy81pc56p71";
2018-02-19 23:25:14 +01:00
};
disabled = !isPy3k;
2018-02-19 23:25:14 +01:00
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 ];
2018-02-19 23:25:14 +01: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;
};
}