2009-07-07 12:01:36 +02:00
|
|
|
args : with args;
|
|
|
|
rec {
|
2010-11-10 17:09:30 +01:00
|
|
|
srcDrv = fetchmtn {
|
2009-07-07 12:01:36 +02:00
|
|
|
name = "monotone-viz-mtn-checkout";
|
2010-11-10 17:09:30 +01:00
|
|
|
dbs = ["monotone.mtn-host.prjek.net"];
|
|
|
|
selector = "c3fdb3af1c7c89989c7da8062bb62203f2aaccf0";
|
2010-08-03 14:14:16 +02:00
|
|
|
branch = "net.venge.monotone-viz.new-stdio";
|
2010-11-10 17:09:30 +01:00
|
|
|
sha256 = "661c6a49d442b7e5a7ba455bb9a892e7e12b3968c2ddd69375e7bd0cd0b3ecb9";
|
|
|
|
};
|
|
|
|
src = srcDrv + "/";
|
2009-07-07 12:01:36 +02:00
|
|
|
|
|
|
|
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
|
|
|
|
pkgconfig autoconf automake libtool];
|
2011-01-02 18:28:42 +01:00
|
|
|
configureFlags = ["--with-lablgtk-dir=$(echo ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2)"];
|
2009-07-07 12:01:36 +02:00
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
2010-08-03 19:43:10 +02:00
|
|
|
phaseNames = ["doAutoconf" "doPatch" "doConfigure" "doMakeInstall"];
|
2009-07-07 12:01:36 +02:00
|
|
|
|
|
|
|
doAutoconf = fullDepEntry(''
|
|
|
|
aclocal -I .
|
|
|
|
autoconf -I .
|
|
|
|
'') ["minInit" "addInputs" "doUnpack"];
|
2010-08-03 19:43:10 +02:00
|
|
|
|
2009-11-18 10:39:59 +01:00
|
|
|
name = "monotone-viz-mtn-head";
|
2009-07-07 12:01:36 +02:00
|
|
|
meta = {
|
|
|
|
description = "Monotone commit tree visualizer";
|
2009-07-07 17:05:15 +02:00
|
|
|
maintainers = [args.lib.maintainers.raskin];
|
2009-07-07 12:01:36 +02:00
|
|
|
};
|
2010-11-10 17:09:30 +01:00
|
|
|
passthru = {
|
|
|
|
inherit srcDrv;
|
|
|
|
};
|
2009-07-07 12:01:36 +02:00
|
|
|
}
|
|
|
|
|