nixpkgs/pkgs/applications/version-management/darcs/darcs-2.nix
Peter Simons 468c5dbc5c The 'random' library is no longer a core library in GHC 7.2.1. For older
versions of the compiler, haskell-packages.nix provides a null attribute.

svn path=/nixpkgs/trunk/; revision=28500
2011-08-12 00:18:56 +00:00

28 lines
821 B
Nix

{ cabal, curl, HTTP, extensibleExceptions, hashedStorage, haskeline
, html, mmap, mtl, network, parsec, random, regexCompat, tar
, terminfo, text, zlib
}:
cabal.mkDerivation (self: {
pname = "darcs";
version = "2.5.2";
sha256 = "11mk1xcrxk2x5c0s96s19wb4xvhjl9s59bdqcrj8f4w09zbgjlw9";
isLibrary = true;
isExecutable = true;
buildDepends = [
HTTP extensibleExceptions hashedStorage haskeline html mmap mtl
network parsec random regexCompat tar terminfo text zlib
];
extraLibraries = [ curl ];
meta = {
homepage = "http://darcs.net/";
description = "a distributed, interactive, smart revision control system";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})