nixpkgs/pkgs/development/libraries/haskell/numeric-prelude/default.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

25 lines
713 B
Nix

{ cabal, QuickCheck, nonNegative, parsec, random, storableRecord
, utilityHt
}:
cabal.mkDerivation (self: {
pname = "numeric-prelude";
version = "0.2.2";
sha256 = "bc6adb8c2f04e0e1f62e183e052974700143dc93b1a3cbafe3562aa1f7a649fd";
isLibrary = true;
isExecutable = true;
buildDepends = [
QuickCheck nonNegative parsec random storableRecord utilityHt
];
meta = {
homepage = "http://www.haskell.org/haskellwiki/Numeric_Prelude";
description = "An experimental alternative hierarchy of numeric type classes";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})