1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/python-modules/xdot/default.nix

24 lines
656 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy3k
2018-02-19 22:25:14 +00:00
, wrapGAppsHook, gobjectIntrospection, pygobject3, graphviz, gnome3 }:
buildPythonPackage rec {
pname = "xdot";
version = "1.0";
2018-02-19 22:25:14 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "18a2ri8vggaxy7im1x9hki34v519y5jy4n07zpqq5br9syb7h1ky";
2018-02-19 22:25:14 +00:00
};
disabled = !isPy3k;
2018-02-19 22:25:14 +00:00
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = [ gobjectIntrospection pygobject3 graphviz gnome3.gtk ];
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;
};
}