summaryrefslogtreecommitdiff
path: root/packages/sundials/hmatrix-sundials.cabal
blob: 20fc0f68ab72a45c86b78c3d1343a87e2738606d (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
name:                hmatrix-sundials
version:             0.1.0.0
homepage:            https://github.com/albertoruiz/hmatrix/tree/sundials
license:             BSD3
license-file:        LICENSE
author:              Dominic Steinitz
maintainer:          dominic@steinitz.org
category:            Math
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

extra-source-files:
  src/helpers.c
  src/helpers.h

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
  other-extensions:    QuasiQuotes, TemplateHaskell, MultiWayIf, OverloadedStrings
  hs-source-dirs:      src
  exposed-modules:     Numeric.Sundials.Arkode.ODE
  other-modules:       Types

executable sundials
  main-is:             Main.hs
  other-modules:       Types, Numeric.Sundials.Arkode.ODE
  other-extensions:    QuasiQuotes, TemplateHaskell, MultiWayIf, OverloadedStrings
  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
  hs-source-dirs:      src
  default-language:    Haskell2010
  extra-libraries:     sundials_arkode
  C-sources:           src/helpers.c src/helpers.h