Added Monotone-Viz, viewer for monotone histories.

svn path=/nixpkgs/trunk/; revision=12034
This commit is contained in:
Michael Raskin 2008-06-11 06:12:18 +00:00
parent 18099d1ad5
commit d139e5244c
3 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,19 @@
args : with args;
rec {
src = fetchurl {
url = http://oandrieu.nerim.net/monotone-viz/monotone-viz-1.0.1-nolablgtk.tar.gz;
sha256 = "0aqz65mlqplj5ccr8czcr6hvliclf9y1xi1rrs2z2s3fvahasxnp";
};
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib pkgconfig];
configureFlags = ["--with-lablgtk-dir=${lablgtk}/lib/ocaml/lablgtk2"];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "monotone-viz-" + version;
meta = {
description = "Monotone commit tree visualizer";
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, pkgconfig, gtk}:
{stdenv, fetchurl, ocaml, pkgconfig, gtk, libgnomecanvas}:
stdenv.mkDerivation {
name = "lablgtk-2.6.0";
@ -7,7 +7,7 @@ stdenv.mkDerivation {
sha256 = "3694bc1e288ce0903af6c96a2790d2340ba38fa51b18090062ede75137d97876";
};
buildInputs = [ocaml pkgconfig gtk];
buildInputs = [ocaml pkgconfig gtk libgnomecanvas];
configureFlags = "--with-libdir=$(out)/lib/ocaml";
buildFlags = "world";

View File

@ -1644,6 +1644,11 @@ let pkgs = rec {
inherit stdenv fetchurl boost zlib;
};
monotoneViz = builderDefsPackage (selectVersion ../applications/version-management/monotone-viz "1.0.1") {
inherit ocaml lablgtk graphviz pkgconfig;
inherit (gnome) gtk libgnomecanvas glib;
} null;
nasm = import ../development/compilers/nasm {
inherit fetchurl stdenv;
};
@ -2746,6 +2751,7 @@ let pkgs = rec {
lablgtk = import ../development/libraries/lablgtk {
inherit fetchurl stdenv ocaml pkgconfig;
inherit (gtkLibs) gtk;
inherit (gnome) libgnomecanvas;
};
lcms = import ../development/libraries/lcms {