2011-08-10 00:00:20 +01:00
|
|
|
{ cabal, flexibleDefaults, mersenneRandomPure64, mtl, mwcRandom
|
2011-08-12 01:18:56 +01:00
|
|
|
, random, stateref, syb
|
2011-08-10 00:00:20 +01:00
|
|
|
}:
|
2011-08-07 21:25:45 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 21:25:45 +01:00
|
|
|
pname = "random-source";
|
|
|
|
version = "0.3";
|
|
|
|
sha256 = "08nj7mq8gjj9rv1zmkr2m30z295k5b352103wb1ag1ryw5wyzg1n";
|
2011-08-10 00:00:20 +01:00
|
|
|
buildDepends = [
|
2011-08-12 01:18:56 +01:00
|
|
|
flexibleDefaults mersenneRandomPure64 mtl mwcRandom random stateref
|
|
|
|
syb
|
2011-08-07 21:25:45 +01:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mokus0/random-fu";
|
|
|
|
description = "Generic basis for random number generators";
|
|
|
|
license = self.stdenv.lib.licenses.publicDomain;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2011-08-10 00:00:20 +01:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-08-07 21:25:45 +01:00
|
|
|
};
|
|
|
|
})
|