2013-02-24 21:09:07 +00:00
|
|
|
{ cabal, HUnit, primitive, QuickCheck, statistics, testFramework
|
|
|
|
, testFrameworkHunit, testFrameworkQuickcheck2, time, vector
|
|
|
|
}:
|
2010-11-17 15:38:16 +00:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2010-11-17 15:38:16 +00:00
|
|
|
pname = "mwc-random";
|
2012-08-16 14:41:22 +01:00
|
|
|
version = "0.12.0.1";
|
|
|
|
sha256 = "1sq4yxi231ka8rzwsihqziibs7amvl27ycr018wymm3yz36vsy7c";
|
2012-02-16 14:05:41 +00:00
|
|
|
buildDepends = [ primitive time vector ];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
HUnit QuickCheck statistics testFramework testFrameworkHunit
|
|
|
|
testFrameworkQuickcheck2 vector
|
|
|
|
];
|
2010-11-17 15:38:16 +00:00
|
|
|
meta = {
|
2011-08-07 23:02:56 +01:00
|
|
|
homepage = "https://github.com/bos/mwc-random";
|
2010-11-17 15:38:16 +00:00
|
|
|
description = "Fast, high quality pseudo random number generation";
|
2011-08-07 23:02:56 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-11-17 15:38:16 +00:00
|
|
|
};
|
2011-03-28 16:04:00 +01:00
|
|
|
})
|