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
|
2012-04-23 11:34:01 +02:00
|
|
|
, regexCompat, tar, terminfo, text, 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";
|
2012-11-05 16:19:50 +01:00
|
|
|
version = "2.8.3";
|
|
|
|
sha256 = "0nbg45i5sgbsc488siqirgysy3z912xghqbwm5hcsl37j910hxch";
|
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
|
2012-04-23 11:34:01 +02:00
|
|
|
mmap mtl network parsec random regexCompat tar terminfo text vector
|
|
|
|
zlib
|
2010-04-27 21:51:37 +02:00
|
|
|
];
|
2011-08-10 02:35:08 +02:00
|
|
|
extraLibraries = [ curl ];
|
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
|
|
|
})
|