summaryrefslogtreecommitdiff
path: root/packages/sundials/hmatrix-sundials.cabal
blob: 354f14268ab4d57814ddac500e64088534f156b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name:                hmatrix-sundials
version:             0.19.0.0
synopsis:            hmatrix interface to sundials
description:         Foo bar baz
homepage:            https://github.com/idontgetoutmuch/hmatrix/tree/sundials
license:             BSD3
license-file:        LICENSE
author:              Dominic Steinitz
maintainer:          dominic@steinitz.org
copyright:           Dominic Steinitz 2018, Novadiscovery 2018
category:            Math
build-type:          Simple
extra-source-files:  ChangeLog.md, README.md, diagrams/*.png
extra-doc-files:     diagrams/*.png
cabal-version:       >=1.10


library
  build-depends:       base >=4.10 && <4.11,
                       inline-c >=0.6 && <0.7,
                       vector >=0.12 && <0.13,
                       template-haskell >=2.12 && <2.13,
                       containers >=0.5 && <0.6,
                       hmatrix>=0.18
  extra-libraries:     sundials_arkode
  other-extensions:    QuasiQuotes
  hs-source-dirs:      src
  exposed-modules:     Numeric.Sundials.ARKode.ODE
  other-modules:       Types,
                       Arkode
  c-sources:           src/helpers.c src/helpers.h
  default-language:    Haskell2010

test-suite hmatrix-sundials-testsuite
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  other-modules:       Types,
                       Numeric.Sundials.ARKode.ODE,
                       Arkode
  build-depends:       base >=4.10 && <4.11,
                       inline-c >=0.6 && <0.7,
                       vector >=0.12 && <0.13,
                       template-haskell >=2.12 && <2.13,
                       containers >=0.5 && <0.6,
                       hmatrix>=0.18,
                       plots,
                       diagrams-lib,
                       diagrams-rasterific,
                       lens,
                       hspec
  hs-source-dirs:      src
  default-language:    Haskell2010
  extra-libraries:     sundials_arkode
  c-sources:           src/helpers.c src/helpers.h
  default-language:    Haskell2010