2009-04-19 12:07:41 +02:00
|
|
|
{cabal, html, mtl, parsec, regexCompat, zlib, curl} : /* , ghc, zlib, ncurses, curl, perl */
|
2008-02-09 14:52:41 +01:00
|
|
|
|
2009-04-18 17:42:59 +02:00
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "darcs";
|
2009-04-19 12:07:41 +02:00
|
|
|
name = self.fname;
|
2009-04-18 17:42:59 +02:00
|
|
|
version = "2.2.1";
|
|
|
|
sha256 = "0iy4d4qls6yhwmgv87pz4kmr5jh4bwigz1wfwzns71b68csynnsp";
|
2008-10-10 00:58:14 +02:00
|
|
|
|
2009-04-19 12:07:41 +02:00
|
|
|
extraBuildInputs = [html mtl parsec regexCompat zlib curl];
|
2009-04-18 17:42:59 +02:00
|
|
|
#buildInputs = [ghc zlib ncurses curl perl];
|
2008-02-09 14:52:41 +01:00
|
|
|
|
2009-04-18 17:42:59 +02:00
|
|
|
#NIX_LDFLAGS = "-lz";
|
2008-02-09 14:52:41 +01:00
|
|
|
|
|
|
|
meta = {
|
2009-04-18 17:42:59 +02:00
|
|
|
homepage = http://darcs.net/;
|
2008-02-09 14:52:41 +01:00
|
|
|
description = "Patch-based version management system";
|
|
|
|
};
|
2008-08-07 19:30:35 +02:00
|
|
|
|
|
|
|
patches = ./bash-completion.patch; # I didn't have "have"
|
2009-04-18 17:42:59 +02:00
|
|
|
})
|