2011-08-10 01:00:20 +02:00
|
|
|
{ cabal, flexibleDefaults, mersenneRandomPure64, mtl, mwcRandom
|
2011-08-12 02:18:56 +02:00
|
|
|
, random, stateref, syb
|
2011-08-10 01:00:20 +02:00
|
|
|
}:
|
2011-08-07 22:25:45 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 22:25:45 +02:00
|
|
|
pname = "random-source";
|
|
|
|
version = "0.3";
|
|
|
|
sha256 = "08nj7mq8gjj9rv1zmkr2m30z295k5b352103wb1ag1ryw5wyzg1n";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2011-08-12 02:18:56 +02:00
|
|
|
flexibleDefaults mersenneRandomPure64 mtl mwcRandom random stateref
|
|
|
|
syb
|
2011-08-07 22:25:45 +02: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 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2011-08-10 01:00:20 +02:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-08-07 22:25:45 +02:00
|
|
|
};
|
|
|
|
})
|