2015-09-15 05:27:19 +01:00
|
|
|
args @ { graphviz, pkgconfig, autoconf, automake, libtool, glib, gtk, ... }: with args;
|
2009-07-07 11:01:36 +01:00
|
|
|
rec {
|
2010-11-10 16:09:30 +00:00
|
|
|
srcDrv = fetchmtn {
|
2009-07-07 11:01:36 +01:00
|
|
|
name = "monotone-viz-mtn-checkout";
|
2014-10-09 07:27:17 +01:00
|
|
|
dbs = ["monotone.mtn-host.prjek.net"];
|
2010-11-10 16:09:30 +00:00
|
|
|
selector = "c3fdb3af1c7c89989c7da8062bb62203f2aaccf0";
|
2014-10-09 07:27:17 +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
|
|
|
|
2015-09-15 05:27:19 +01:00
|
|
|
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
|
2009-07-07 11:01:36 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
|