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";
|
2013-10-13 09:14:30 +01:00
|
|
|
version = "0.13.1.0";
|
|
|
|
sha256 = "16g6b1pphr4p36nn5qjj62iwf47rq8kfmpjgfvd35r3cz9qqb8cb";
|
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
|
|
|
|
];
|
2013-02-24 21:24:55 +00:00
|
|
|
doCheck = false;
|
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;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-11-17 15:38:16 +00:00
|
|
|
};
|
2011-03-28 16:04:00 +01:00
|
|
|
})
|