packages feed

glicko-0.3.0.0: glicko.cabal

-- Initial haskell-glicko.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                glicko
version:             0.3.0.0
synopsis:            Glicko-2 implementation in Haskell.
description:
    Implementation of the rating algorithm Glicko-2 by Professor Mark E. Glickman
    <http://glicko.net/glicko/glicko2.pdf>
    .
    For more info, see <https://github.com/Prillan/haskell-glicko>
license:             GPL-3
license-file:        LICENSE
author:              Rasmus Précenth
maintainer:          prillan91@gmail.com
-- copyright:
category:            Math
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10
source-repository head
  type:     git
  location: git@github.com:Prillan/haskell-glicko.git

library
  exposed-modules:     Ranking.Glicko
                       Ranking.Glicko.Core
                       Ranking.Glicko.Inference
                       Ranking.Glicko.Types
  build-depends:       base         >= 4.8   && < 5
                     , containers   >= 0.6   && < 0.7
                     , data-default >= 0.5   && < 0.8
                     , deepseq      >= 1.4   && < 1.5
                     , parallel     >= 3.2   && < 3.3
                     , statistics   >= 0.15  && < 0.16
  hs-source-dirs:      src
  default-language:    Haskell2010
  default-extensions:  DataKinds

test-suite glicko-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Paper
  build-depends:       base
                     , data-default >= 0.5    && < 0.8
                     , glicko
                     , hspec        >= 2.7.2  && < 2.8
                     , QuickCheck   >= 2.13.2 && < 2.14
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010
  default-extensions:  DataKinds