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

20 lines
619 B
Nix

{ cabal, HTTP, network, random, zlib }:
cabal.mkDerivation (self: {
pname = "cabal-install";
version = "0.6.2";
sha256 = "d8ea91bd0a2a624ab1cf52ddfe48cef02b532bb5e2fcda3fd72ca51efc04b41a";
isLibrary = false;
isExecutable = true;
buildDepends = [ HTTP network random 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
];
};
})