nixpkgs/pkgs/tools/package-management/cabal-install/0.10.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

21 lines
619 B
Nix

{ cabal, HTTP, network, random, time, zlib }:
cabal.mkDerivation (self: {
pname = "cabal-install";
version = "0.10.2";
sha256 = "05gmgxdlymp66c87szx1vq6hlraispdh6pm0n85s74yihjwwhmv3";
isLibrary = false;
isExecutable = true;
buildDepends = [ HTTP network random time zlib ];
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})