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