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