mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
30 lines
875 B
Nix
30 lines
875 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchmtn {
|
|
name = "monotone-viz-mtn-checkout";
|
|
dbs = ["monotone.ca"];
|
|
selector = "0e9194c89eb87e62ac7d54c7b88b10b94b07fa41";
|
|
branch = "net.venge.monotone-viz.automate";
|
|
sha256 = "d7980c9729b0a58f0dd27768b8eae46b45462fe72a88534b8aa159d889b4d624";
|
|
} + "/";
|
|
|
|
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];
|
|
};
|
|
}
|
|
|