nixpkgs/pkgs/development/libraries/haskell/random-source/default.nix
Peter Simons 0485be8b1d haskell-packages.nix: added random-source library, required by random-fu
svn path=/nixpkgs/trunk/; revision=28290
2011-08-07 20:25:45 +00:00

18 lines
635 B
Nix
Executable file

{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 ];
};
})