nixpkgs-suyu/pkgs/development/libraries/haskell/random-source/default.nix

19 lines
635 B
Nix
Raw Normal View History

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