diff --git a/pkgs/development/libraries/haskell/mersenne-random/default.nix b/pkgs/development/libraries/haskell/mersenne-random/default.nix new file mode 100644 index 000000000000..ec7a54c9ed2e --- /dev/null +++ b/pkgs/development/libraries/haskell/mersenne-random/default.nix @@ -0,0 +1,15 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal }: + +cabal.mkDerivation (self: { + pname = "mersenne-random"; + version = "1.0.0.1"; + sha256 = "193qz3wn7lz18aywddr9qyn8v08ifv2yxwr68c67p5mn8vr8mvmw"; + meta = { + homepage = "http://code.haskell.org/~dons/code/mersenne-random"; + description = "Generate high quality pseudorandom numbers using a SIMD Fast Mersenne Twister"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 87d5f9f281a2..5ca1e9967f04 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1584,6 +1584,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in MemoTrie = callPackage ../development/libraries/haskell/MemoTrie {}; + mersenneRandom = callPackage ../development/libraries/haskell/mersenne-random {}; + mersenneRandomPure64 = callPackage ../development/libraries/haskell/mersenne-random-pure64 {}; MFlow = callPackage ../development/libraries/haskell/MFlow {};