packages feed

currycarbon-0.4.0.1: currycarbon.cabal

name:                currycarbon
version:             0.4.0.1
synopsis:            A package for simple, fast radiocarbon calibration
description:         Radiocarbon calibration with the intercept method optimised for fast calibration of many dates.
homepage:            https://github.com/nevrome/currycarbon
category:            Archaeoinformatics
author:              Clemens Schmid
maintainer:          clemens@nevrome.de
license:             MIT
license-file:        LICENSE
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md,
                     CHANGELOG.md
data-files:          data/*.14c

source-repository head
    type:               git
    location:           https://github.com/nevrome/currycarbon.git

library
    exposed-modules:
      Currycarbon
      Currycarbon.CalCurves
      Currycarbon.Calibration.Utils
      Currycarbon.Calibration.MatrixMult
      Currycarbon.Calibration.Bchron
      Currycarbon.Calibration.Calibration
      Currycarbon.CLI.RunCalibrate
      Currycarbon.ParserHelpers
      Currycarbon.Parsers
      Currycarbon.SumCalibration
      Currycarbon.Types
      Currycarbon.Utils
    hs-source-dirs:
      src
    build-depends:
        base >= 4.14 && < 5
      , filepath >= 1.4 && < 1.6
      , parsec >= 3.1 && < 3.2
      , vector >= 0.12 && < 0.14
      , math-functions >= 0.3 && < 0.4
      , MonadRandom >= 0.6 && < 1
      , random > 1.2 && < 1.4
      , file-embed > 0.0.11.1 && < 0.1.0.0
    default-language:
      Haskell2010

executable currycarbon
    main-is:
      Main-currycarbon.hs
    hs-source-dirs:
      src-executables
    build-depends:      
        currycarbon
      , base >= 4.14 && < 5
      , optparse-applicative >= 0.16 && < 0.19
      , filepath >= 1.4 && < 1.6
    other-modules:
      Paths_currycarbon
    default-language:
      Haskell2010
    ghc-options: 
      -threaded -O2 -with-rtsopts=-N -optP-Wno-nonportable-include-path

test-suite spec
    hs-source-dirs:
      test
    main-is:
      Main.hs
    type:
      exitcode-stdio-1.0
    build-depends:
        base >= 4.9 && < 5
      , currycarbon
      , hspec >= 2 && < 3
      , hspec-core >= 2.10 && < 3
      , process >= 1.6 && < 1.7
    other-modules:
      ParserSpec,
      GoldenSpec,
      Spec
    default-language:
      Haskell2010