packages feed

quantum-random-0.6.2: quantum-random.cabal

name:                quantum-random
version:             0.6.2
synopsis:            Retrieve, store and manage real quantum random data.

description:         Retrieve, store and manage real quantum random data, originating from vacuum
                     fluctuations of the electromagnetic field and served by Australian National
                     University.
                     .

                     The package is designed to ensure quantum random data is promptly available for
                     your application by keeping a sufficient amount locally. When depleted to a
                     specified level, more data is downloaded concurrently over SSL. It can be
                     configured by specifying the minimum store size (below which more data are
                     retrieved) the target store size (the size of the store after retrieval) and
                     the default display style.
                     .

                     For more information on the API service on which this package is based,
                     visit the ANU QRN webpage at <http://qrng.anu.edu.au/>.

homepage:            http://github.com/BlackBrane/quantum-random/
license:             MIT
license-file:        LICENSE
author:              Cliff Harvey
maintainer:          cs.hbar+hs@gmail.com
copyright:           2016
category:            Scientific
build-type:          Simple

cabal-version:       >=1.10

data-files:          qr_data/qr_store.bin,
                     qr_data/qr_settings.json

extra-source-files:  README.md,
                     CHANGELOG.md

source-repository head
  type:     git
  location: git://github.com/BlackBrane/quantum-random.git

library
  hs-source-dirs:      src-lib

  build-depends:       base          >=4.8  && <4.10,
                       ansigraph     >=0.2  && <0.4,
                       aeson         >=0.8  && <0.12,
                       text          >=1.2  && <1.3,
                       regex-posix   >=0.9  && <1.0,
                       bytestring    >=0.10 && <0.11,
                       http-conduit  >=2.1  && <2.3,
                       ansi-terminal >=0.6  && <0.7,
                       terminal-size >=0.3  && <0.4,
                       directory     >=1.2  && <1.3


  exposed-modules:     Quantum.Random,
                       Quantum.Random.Exceptions,
                       Quantum.Random.ANU,
                       Quantum.Random.Display,
                       Quantum.Random.Store


  other-modules:       Quantum.Random.Codec,
                       Quantum.Random.Mutex,
                       Paths_quantum_random

  default-language:    Haskell2010

  ghc-options:         -Wall
                       -fno-warn-unused-do-bind

executable qrand
  hs-source-dirs:      src-ex

  main-is:             Main.hs

  build-depends:       base          >=4.8 && <4.10,
                       haskeline     >=0.7 && <0.8,
                       mtl           >=2.2 && <2.3,
                       quantum-random

  default-language:    Haskell2010

test-suite test-quantum-random
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          test-quantum-random.hs
  default-language: Haskell2010
  build-depends:    base == 4.*,
                    quantum-random,
                    hspec == 2.*,
                    QuickCheck == 2.*