2008-02-09 14:52:41 +01:00
|
|
|
{stdenv, fetchurl, ghc, zlib, ncurses, curl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-04-14 21:59:26 +02:00
|
|
|
name = "darcs-2.0.0";
|
2008-02-09 14:52:41 +01:00
|
|
|
src = fetchurl {
|
2008-04-14 21:59:26 +02:00
|
|
|
url = http://darcs.net/darcs-2.0.0.tar.gz;
|
|
|
|
sha256 = "1admaglbf7i15x9pihncqj5iraqzcw801pf76f0pd2hbc2k0yx7x";
|
2008-02-09 14:52:41 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ghc zlib ncurses curl];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lz";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Patch-based version management system";
|
|
|
|
};
|
2008-08-07 19:30:35 +02:00
|
|
|
|
|
|
|
patches = ./bash-completion.patch; # I didn't have "have"
|
2008-02-09 14:52:41 +01:00
|
|
|
}
|