2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, curl, extensibleExceptions, filepath, hashedStorage
|
2012-02-14 17:00:37 +00:00
|
|
|
, haskeline, html, HTTP, mmap, mtl, network, parsec, random
|
2013-02-09 17:24:50 +00:00
|
|
|
, regexCompat, tar, terminfo, text, utf8String, vector, zlib
|
2011-08-10 01:35:08 +01:00
|
|
|
}:
|
2008-02-09 13:52:41 +00:00
|
|
|
|
2011-08-10 01:35:08 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2009-04-18 16:42:59 +01:00
|
|
|
pname = "darcs";
|
2013-02-09 17:24:50 +00:00
|
|
|
version = "2.8.4";
|
|
|
|
sha256 = "164zclgib9ql4rqykpdhhk2bad0m5v0k0iwzsj0z7nax5nxlvarz";
|
2011-08-10 01:35:08 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-02-16 14:05:41 +00:00
|
|
|
extensibleExceptions filepath hashedStorage haskeline html HTTP
|
2013-02-09 17:24:50 +00:00
|
|
|
mmap mtl network parsec random regexCompat tar terminfo text
|
|
|
|
utf8String vector zlib
|
2010-04-27 20:51:37 +01:00
|
|
|
];
|
2011-08-10 01:35:08 +01:00
|
|
|
extraLibraries = [ curl ];
|
2012-09-25 14:15:38 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/etc/bash_completion.d
|
|
|
|
mv contrib/darcs_completion $out/etc/bash_completion.d/darcs
|
|
|
|
'';
|
2013-02-24 23:03:34 +00:00
|
|
|
doCheck = false;
|
2008-02-09 13:52:41 +00:00
|
|
|
meta = {
|
2011-08-10 01:35:08 +01:00
|
|
|
homepage = "http://darcs.net/";
|
|
|
|
description = "a distributed, interactive, smart revision control system";
|
2010-04-27 20:51:37 +01:00
|
|
|
license = "GPL";
|
2011-08-10 01:35:08 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2008-02-09 13:52:41 +00:00
|
|
|
};
|
2009-04-18 16:42:59 +01:00
|
|
|
})
|