packages feed

Random123-0.1.1: Random123.cabal

Name:                Random123
Version:             0.1.1
Synopsis:            Haskell port of Random123 library
Description:
  This is a Haskell port of counter-based random number generators from the Random123 library
  (<http://www.thesalmons.org/john/random123/>) v1.07 (with a minor bugfix).
  The description of algorithms can be also found in
  Salmon et al., P. Int. C. High. Perform. 16 (2011)
  (<http://dx.doi.org/doi:10.1145/2063384.2063405>).

Homepage:            http://github.com/Manticore/haskell-random123
License:             MIT
License-file:        LICENSE
Author:              Bogdan Opanchuk <bogdan@opanchuk.net>
Maintainer:          Bogdan Opanchuk <bogdan@opanchuk.net>
Category:            Random
Build-type:          Simple
Cabal-version:       >=1.8

Extra-source-files:
  README.rst
  test/*.sh

Source-repository head
  type:     git
  location: http://github.com/Manticore/haskell-random123.git
  branch:   develop

Source-repository this
  type:     git
  location: http://github.com/Manticore/haskell-random123.git
  tag:      0.1.1

Library
  Exposed-modules:
    System.Random.Random123
    System.Random.Random123.Misc
    System.Random.Random123.Threefry
    System.Random.Random123.Philox
    System.Random.Random123.Types
    System.Random.Random123.RandomGen

  Build-Depends:
    base >= 4.4.0.0 && < 5.0,
    array >= 0.4,
    random >= 1.0.0.0

Test-Suite test
  Type: exitcode-stdio-1.0
  Hs-source-dirs: test
  Main-is: test.hs
  Other-modules: TestPhilox TestThreefry TestRandomGen TestTypeclasses
  Build-depends:
    base >= 4.4 && < 5.0,
    random >= 1.0,
    test-framework >= 0.8,
    test-framework-hunit >= 0.3,
    test-framework-quickcheck2 >= 0.3,
    HUnit >= 1.2,
    QuickCheck >= 2.5,
    Random123

Benchmark test_perf
  Type: exitcode-stdio-1.0
  Hs-source-dirs: test
  Main-is: test_perf.hs
  Build-depends:
    base >= 4.4 && < 5.0,
    random >= 1.0,
    criterion >= 0.6,
    Random123
  Ghc-options: -O2