mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
24 lines
650 B
Nix
24 lines
650 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
|
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xdot";
|
|
version = "1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0cr4rh7dz4dfzyxrk5pzhm0d15gkrgkfp3i5lw178xy81pc56p71";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 ];
|
|
|
|
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;
|
|
};
|
|
}
|