haskell-packages.nix: added random-source library, required by random-fu

svn path=/nixpkgs/trunk/; revision=28290
This commit is contained in:
Peter Simons 2011-08-07 20:25:45 +00:00
parent a843acef47
commit 0485be8b1d
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{cabal, flexibleDefaults, mersenneRandomPure64, mtl, mwcRandom,
stateref, syb} :
cabal.mkDerivation (self : {
pname = "random-source";
version = "0.3";
sha256 = "08nj7mq8gjj9rv1zmkr2m30z295k5b352103wb1ag1ryw5wyzg1n";
propagatedBuildInputs = [
flexibleDefaults mersenneRandomPure64 mtl mwcRandom stateref syb
];
meta = {
homepage = "https://github.com/mokus0/random-fu";
description = "Generic basis for random number generators";
license = self.stdenv.lib.licenses.publicDomain;
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})

View File

@ -902,6 +902,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
randomFu = callPackage ../development/libraries/haskell/random-fu {};
randomSource = callPackage ../development/libraries/haskell/random-source {};
randomShuffle = callPackage ../development/libraries/haskell/random-shuffle {};
ranges = callPackage ../development/libraries/haskell/ranges {};