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-11-05 21:20:42 +01:00
|
|
|
name = "darcs-2.1.0";
|
2008-02-09 14:52:41 +01:00
|
|
|
src = fetchurl {
|
2008-11-05 21:20:42 +01:00
|
|
|
url = http://www.darcs.net/darcs-2.1.0.tar.gz;
|
|
|
|
sha256 = "d5a63e62bceb45905163d508c6b25158dab6aca367015566d8c539ec37107ab4";
|
2008-02-09 14:52:41 +01:00
|
|
|
};
|
2008-10-10 00:58:14 +02: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
|
|
|
}
|