about summary refs log tree commit diff
path: root/pkgs/applications/version-management/monotone-viz/mtn-head.nix
blob: 3674aa1e3dcc875a742507c42a22f0b41951ce32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
args : with args; 
rec {
  src = fetchmtn {
    name = "monotone-viz-mtn-checkout";
    dbs = ["monotone.ca"];
    selector = "b34ff2e695b53c2d73d533a3ffa7cb081b48eefb";
    branch = "net.venge.monotone-viz.new-stdio";
    sha256 = "06263564bc111d865b50b4a9587a86f8d97fff47625a3c1cb98d90b79faf7889";
  } + "/";

  buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib 
    pkgconfig autoconf automake libtool];
  configureFlags = ["--with-lablgtk-dir=${lablgtk}/lib/ocaml/lablgtk2"];

  /* doConfigure should be specified separately */
  phaseNames = ["doAutoconf" "doConfigure" "doMakeInstall"];

  doAutoconf = fullDepEntry(''
    aclocal -I .
    autoconf -I .
  '') ["minInit" "addInputs" "doUnpack"];
      
  name = "monotone-viz-mtn-head";
  meta = {
    description = "Monotone commit tree visualizer";
    maintainers = [args.lib.maintainers.raskin];
  };
}