diff options
Diffstat (limited to 'packages/sundials/hmatrix-sundials.cabal')
-rw-r--r-- | packages/sundials/hmatrix-sundials.cabal | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/packages/sundials/hmatrix-sundials.cabal b/packages/sundials/hmatrix-sundials.cabal new file mode 100644 index 0000000..cd2be4e --- /dev/null +++ b/packages/sundials/hmatrix-sundials.cabal | |||
@@ -0,0 +1,61 @@ | |||
1 | name: hmatrix-sundials | ||
2 | version: 0.19.0.0 | ||
3 | synopsis: hmatrix interface to sundials | ||
4 | description: An interface to the solving suite SUNDIALS. Currently, it | ||
5 | mimics the solving interface in hmstrix-gsl but | ||
6 | provides more diagnostic information and the | ||
7 | Butcher Tableaux (for Runge-Kutta methods). | ||
8 | homepage: https://github.com/idontgetoutmuch/hmatrix/tree/sundials | ||
9 | license: BSD3 | ||
10 | license-file: LICENSE | ||
11 | author: Dominic Steinitz | ||
12 | maintainer: dominic@steinitz.org | ||
13 | copyright: Dominic Steinitz 2018, Novadiscovery 2018 | ||
14 | category: Math | ||
15 | build-type: Simple | ||
16 | extra-source-files: ChangeLog.md, README.md, diagrams/*.png | ||
17 | extra-doc-files: diagrams/*.png | ||
18 | cabal-version: >=1.18 | ||
19 | |||
20 | |||
21 | library | ||
22 | build-depends: base >=4.10 && <4.11, | ||
23 | inline-c >=0.6 && <0.7, | ||
24 | vector >=0.12 && <0.13, | ||
25 | template-haskell >=2.12 && <2.13, | ||
26 | containers >=0.5 && <0.6, | ||
27 | hmatrix>=0.18 | ||
28 | extra-libraries: sundials_arkode, | ||
29 | sundials_cvode | ||
30 | other-extensions: QuasiQuotes | ||
31 | hs-source-dirs: src | ||
32 | exposed-modules: Numeric.Sundials.ODEOpts, | ||
33 | Numeric.Sundials.ARKode.ODE, | ||
34 | Numeric.Sundials.CVode.ODE | ||
35 | other-modules: Numeric.Sundials.Arkode | ||
36 | c-sources: src/helpers.c src/helpers.h | ||
37 | default-language: Haskell2010 | ||
38 | |||
39 | test-suite hmatrix-sundials-testsuite | ||
40 | type: exitcode-stdio-1.0 | ||
41 | main-is: Main.hs | ||
42 | other-modules: Numeric.Sundials.ODEOpts, | ||
43 | Numeric.Sundials.ARKode.ODE, | ||
44 | Numeric.Sundials.CVode.ODE, | ||
45 | Numeric.Sundials.Arkode | ||
46 | build-depends: base >=4.10 && <4.11, | ||
47 | inline-c >=0.6 && <0.7, | ||
48 | vector >=0.12 && <0.13, | ||
49 | template-haskell >=2.12 && <2.13, | ||
50 | containers >=0.5 && <0.6, | ||
51 | hmatrix>=0.18, | ||
52 | plots, | ||
53 | diagrams-lib, | ||
54 | diagrams-rasterific, | ||
55 | lens, | ||
56 | hspec | ||
57 | hs-source-dirs: src | ||
58 | extra-libraries: sundials_arkode, | ||
59 | sundials_cvode | ||
60 | c-sources: src/helpers.c src/helpers.h | ||
61 | default-language: Haskell2010 | ||