2008-10-10 00:58:14 +02:00
|
|
|
{stdenv, fetchurl, ghc, zlib, ncurses, curl, getConfig}:
|
|
|
|
|
|
|
|
# you really should consider using darcs2 and updating your darcs-1 repos ..
|
|
|
|
# many performance improvements have been made if you use the darcs-2 or hashed format
|
|
|
|
# (darcs-2 is default now when runnig darcs 2.1.0)
|
|
|
|
# lookup darcs convert and make sure you understand the one way conversion..
|
|
|
|
assert getConfig ["darcs" "IreallyWantDarcsOne"] false;
|
2005-10-04 16:25:13 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-08-28 21:50:55 +02:00
|
|
|
name = "darcs-1.0.9";
|
2005-10-04 16:25:13 +02:00
|
|
|
src = fetchurl {
|
2007-08-28 21:50:55 +02:00
|
|
|
url = http://www.darcs.net/darcs-1.0.9.tar.gz;
|
|
|
|
sha256 = "a5fe4d5a743d8052d6cbfcea480a44593f821afd8a42e6d6d4ae37d40ed23cd8";
|
2005-10-04 16:25:13 +02:00
|
|
|
};
|
2006-01-30 12:18:38 +01:00
|
|
|
buildInputs = [ghc zlib ncurses curl];
|
2006-10-11 18:45:55 +02:00
|
|
|
|
2007-05-27 12:29:10 +02:00
|
|
|
NIX_LDFLAGS = "-lz";
|
|
|
|
|
2006-10-11 18:45:55 +02:00
|
|
|
meta = {
|
|
|
|
description = "Patch-based version management system";
|
|
|
|
};
|
2005-10-04 16:25:13 +02:00
|
|
|
}
|