mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
haskell-packages.nix: added random-source library, required by random-fu
svn path=/nixpkgs/trunk/; revision=28290
This commit is contained in:
parent
a843acef47
commit
0485be8b1d
18
pkgs/development/libraries/haskell/random-source/default.nix
Executable file
18
pkgs/development/libraries/haskell/random-source/default.nix
Executable 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 ];
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user