[contrib][haskell] add the Hkl.C.Lattice module
[hkl.git] / contrib / haskell / hkl.cabal
blob3a4d400054a0dfc49761a5677667371fa9fa9a44
1 name:                hkl
3 -- The package version.  See the Haskell package versioning policy (PVP)
4 -- for standards guiding when and how versions should be incremented.
5 -- http://www.haskell.org/haskellwiki/Package_versioning_policy
6 -- PVP summary:      +-+------- breaking API changes
7 --                   | | +----- non-breaking API additions
8 --                   | | | +--- code changes with no API change
9 version:             0.1.0.0
10 license:             GPL-3
11 license-file:        LICENSE
12 author:              Picca Frédéric-Emmanuel
13 maintainer:          picca@debian.org
14 copyright:           Synchrotron SOLEIL
15 build-type:          Simple
16 cabal-version:       >= 1.10
17 Data-Files:          data/ghkl3.ui
18                    , data/gprof2dot.py
19                    , data/pseudo3.ui
20                    , data/3d3.ui
22 Flag useHMatrixGsl
23   Description: Enable the HmatrixGSL package
24   Default:     False
26 executable ghkl
27   main-is:             src/ghkl.hs
28   build-depends:       attoparsec
29                      , base >= 4.6 && < 4.10
30                      , bindings-hdf5 >= 1.8.12
31                      , containers >= 0.5 && < 0.6
32                      , dimensional >= 0.10
33                      , filepath >= 1.3.0
34                      , Glob >= 0.7.5
35                      , hkl
36                      , hmatrix >= 0.15
37                      , monad-loops >= 0.4.2
38                      , pipes >= 4.1.2
39                      , text
40                      , transformers >= 0.3
41                      , vector >= 0.10.0.1
42   default-language:    Haskell2010
43   pkgconfig-depends:   hkl
44   build-tools:         hsc2hs
45   ghc-options:         -Wall -threaded -O2
46   ghc-options:         -Werror
47   ghc-prof-options:    -fprof-auto "-with-rtsopts=-N -p -s -h -i0.1"
49 executable xrd
50   main-is:             src/xrd.hs
51   build-depends:       attoparsec
52                      , base >= 4.6 && < 4.10
53                      , bindings-hdf5 >= 1.8.12
54                      , containers >= 0.5 && < 0.6
55                      , dimensional >= 0.10
56                      , filepath >= 1.3.0
57                      , Glob >= 0.7.5
58                      , hkl
59                      , hmatrix >= 0.15
60                      , monad-loops >= 0.4.2
61                      , pipes >= 4.1.2
62                      , text
63                      , transformers >= 0.3
64                      , vector >= 0.10.0.1
66   default-language:    Haskell2010
67   pkgconfig-depends:   hkl
68   build-tools:         hsc2hs
69   ghc-options:         -Wall -threaded -O2
70   ghc-options:         -Werror
71   ghc-prof-options:    -fprof-auto "-with-rtsopts=-N -p -s -h -i0.1"
73 executable hkl3d
74   main-is:             src/hkl3d.hs
75   build-depends:       base >= 4.6 && < 4.10
76                      , bindings-hdf5 >= 1.8.12
77                      , containers >= 0.5 && < 0.6
78                      , dimensional >= 0.10
79                      , filepath >= 1.3.0
80                      , hkl
81                      , hmatrix >= 0.15
82                      , monad-loops >= 0.4.2
83                      , pipes >= 4.1.2
84                      , text
85                      , transformers >= 0.3
86                      , vector >= 0.10.0.1
87   default-language:    Haskell2010
88   pkgconfig-depends:   hkl
89   build-tools:         hsc2hs
90   ghc-options:         -Wall -threaded -O2
91   ghc-options:         -Werror
92   ghc-prof-options:    -fprof-auto "-with-rtsopts=-N -p -s -h -i0.1"
94 library
95   exposed-modules:    Hkl
96                     , Hkl.C
97                     , Hkl.C.DArray
98                     , Hkl.C.Geometry
99                     , Hkl.C.Lattice
100                     , Hkl.DataSource
101                     , Hkl.Detector
102                     , Hkl.Edf
103                     , Hkl.Engine
104                     , Hkl.Flat
105                     , Hkl.H5
106                     , Hkl.Lattice
107                     , Hkl.MyMatrix
108                     , Hkl.Nxs
109                     , Hkl.Projects
110                     , Hkl.Projects.D2AM
111                     , Hkl.Projects.D2AM.XRD
112                     , Hkl.Projects.Diffabs
113                     , Hkl.Projects.Diffabs.Charlier
114                     , Hkl.Projects.Diffabs.Hercules
115                     , Hkl.Projects.Diffabs.IRDRx
116                     , Hkl.Projects.Diffabs.Laure
117                     , Hkl.Projects.Diffabs.Martinetto
118                     , Hkl.Projects.Sixs
119                     , Hkl.PyFAI
120                     , Hkl.PyFAI.AzimuthalIntegrator
121                     , Hkl.PyFAI.Poni
122                     , Hkl.PyFAI.PoniExt
123                     , Hkl.PyFAI.Npt
124                     , Hkl.Script
125                     , Hkl.Types
126                     , Hkl.Types.Parameter
127                     , Hkl.Utils
128                     , Hkl.Xrd
129                     , Hkl.Xrd.Calibration
130                     , Hkl.Xrd.Mesh
131                     , Hkl.Xrd.OneD
132   other-modules:      Paths_hkl
133                     , Hkl.Python
134   other-extensions:    CPP
135                      , ForeignFunctionInterface
136                      , EmptyDataDecls
137                      , TypeFamilies
138                      , FlexibleInstances
139                      , FlexibleContexts
140                      , RecordWildCards
141   build-depends:       async
142                      , attoparsec
143                      , base >= 4.6 && < 4.10
144                      , bindings-hdf5 >= 1.8.12
145                      , bytestring >= 0.10.0.2
146                      , containers >= 0.5 && < 0.6
147                      , dimensional >= 0.10
148                      , directory >= 1.2.0
149                      , errors
150                      , filepath >= 1.3.0
151                      , Glob >= 0.7.5
152                      , hdf5
153                      , hmatrix >= 0.15
154                      , mmorph >= 1.0.3
155                      , monad-loops >= 0.4.2
156                      , monads-tf
157                      , pipes >= 4.1.2
158                      , pipes-safe >= 2.2.0
159                      , process >= 1.1
160                      , repa
161                      , text
162                      , transformers >= 0.3
163                      , vector >= 0.10.0.1
165   if flag(useHMatrixGsl)
166     build-depends: hmatrix-gsl >= 0.16
168   hs-source-dirs:      src
169   build-tools:         hsc2hs
170   default-language:    Haskell2010
171   pkgconfig-depends:   hkl
172   ghc-options:         -Wall -O2
173   -- ghc-options:         -fno-warn-incomplete-patterns
174   -- ghc-options:         -Werror
175   ghc-prof-options:    -fprof-auto-top