Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 23 lines 650 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3 }: 3 4buildPythonPackage rec { 5 pname = "xdot"; 6 version = "1.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0cr4rh7dz4dfzyxrk5pzhm0d15gkrgkfp3i5lw178xy81pc56p71"; 11 }; 12 13 disabled = !isPy3k; 14 15 nativeBuildInputs = [ wrapGAppsHook ]; 16 propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 ]; 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}