2008-09-24 02:43:05 +02:00
|
|
|
{stdenv, fetchurl, ghc, zlib, ncurses, curl, perl}:
|
2008-02-09 14:52:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-09-24 02:43:05 +02:00
|
|
|
name = "darcs-2.0.2";
|
2008-02-09 14:52:41 +01:00
|
|
|
src = fetchurl {
|
2008-09-24 02:43:05 +02:00
|
|
|
url = http://darcs.net/darcs-2.0.2.tar.gz;
|
|
|
|
sha256 = "17plbfwz2rvzbvr9b90z55lj51ilnq22hhr38hffila1gsxqfk0n";
|
2008-02-09 14:52:41 +01:00
|
|
|
};
|
2008-09-24 02:43:05 +02:00
|
|
|
buildInputs = [ghc zlib ncurses curl perl];
|
2008-02-09 14:52:41 +01:00
|
|
|
|
|
|
|
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
|
|
|
}
|