[contrib][haskell] add Hkl.C.Detector and Hkl.C.GeometryList
[hkl.git] / contrib / haskell / hkl.cabal
blobe81ccb8fd4a02d8bfd4bad04376c5ba4d1fdd390
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.Detector
99                     , Hkl.C.Geometry
100                     , Hkl.C.GeometryList
101                     , Hkl.C.Lattice
102                     , Hkl.C.Sample
103                     , Hkl.DataSource
104                     , Hkl.Detector
105                     , Hkl.Edf
106                     , Hkl.Engine
107                     , Hkl.Flat
108                     , Hkl.H5
109                     , Hkl.Lattice
110                     , Hkl.MyMatrix
111                     , Hkl.Nxs
112                     , Hkl.Projects
113                     , Hkl.Projects.D2AM
114                     , Hkl.Projects.D2AM.XRD
115                     , Hkl.Projects.Diffabs
116                     , Hkl.Projects.Diffabs.Charlier
117                     , Hkl.Projects.Diffabs.Hercules
118                     , Hkl.Projects.Diffabs.IRDRx
119                     , Hkl.Projects.Diffabs.Laure
120                     , Hkl.Projects.Diffabs.Martinetto
121                     , Hkl.Projects.Sixs
122                     , Hkl.PyFAI
123                     , Hkl.PyFAI.AzimuthalIntegrator
124                     , Hkl.PyFAI.Poni
125                     , Hkl.PyFAI.PoniExt
126                     , Hkl.PyFAI.Npt
127                     , Hkl.Script
128                     , Hkl.Types
129                     , Hkl.Types.Parameter
130                     , Hkl.Utils
131                     , Hkl.Xrd
132                     , Hkl.Xrd.Calibration
133                     , Hkl.Xrd.Mesh
134                     , Hkl.Xrd.OneD
135   other-modules:      Paths_hkl
136                     , Hkl.Python
137   other-extensions:    CPP
138                      , ForeignFunctionInterface
139                      , EmptyDataDecls
140                      , TypeFamilies
141                      , FlexibleInstances
142                      , FlexibleContexts
143                      , RecordWildCards
144   build-depends:       async
145                      , attoparsec
146                      , base >= 4.6 && < 4.10
147                      , bindings-hdf5 >= 1.8.12
148                      , bytestring >= 0.10.0.2
149                      , containers >= 0.5 && < 0.6
150                      , dimensional >= 0.10
151                      , directory >= 1.2.0
152                      , errors
153                      , filepath >= 1.3.0
154                      , Glob >= 0.7.5
155                      , hdf5
156                      , hmatrix >= 0.15
157                      , mmorph >= 1.0.3
158                      , monad-loops >= 0.4.2
159                      , monads-tf
160                      , pipes >= 4.1.2
161                      , pipes-safe >= 2.2.0
162                      , process >= 1.1
163                      , repa
164                      , text
165                      , transformers >= 0.3
166                      , vector >= 0.10.0.1
168   if flag(useHMatrixGsl)
169     build-depends: hmatrix-gsl >= 0.16
171   hs-source-dirs:      src
172   build-tools:         hsc2hs
173   default-language:    Haskell2010
174   pkgconfig-depends:   hkl
175   ghc-options:         -Wall -O2
176   -- ghc-options:         -fno-warn-incomplete-patterns
177   -- ghc-options:         -Werror
178   ghc-prof-options:    -fprof-auto-top