[contrib] add the solve method.
[hkl.git] / contrib / haskell / hkl.cabal
blob40a8cf25a367d7ab76e4192f43cb7e93bc4137aa
1 -- Initial Hkl.cabal generated by cabal init.  For further documentation,
2 -- see http://haskell.org/cabal/users-guide/
4 -- The name of the package.
5 name:                hkl
7 -- The package version.  See the Haskell package versioning policy (PVP)
8 -- for standards guiding when and how versions should be incremented.
9 -- http://www.haskell.org/haskellwiki/Package_versioning_policy
10 -- PVP summary:      +-+------- breaking API changes
11 --                   | | +----- non-breaking API additions
12 --                   | | | +--- code changes with no API change
13 version:             0.1.0.0
15 -- A short (one-line) description of the package.
16 -- synopsis:
18 -- A longer description of the package.
19 -- description:
21 -- The license under which the package is released.
22 license:             GPL-3
24 -- The file containing the license text.
25 license-file:        LICENSE
27 -- The package author(s).
28 author:              Picca Frédéric-Emmanuel
30 -- An email address to which users can send suggestions, bug reports, and
31 -- patches.
32 maintainer:          picca@debian.org
34 -- A copyright notice.
35 -- copyright:
37 -- category:
39 build-type:          Simple
41 -- Extra files to be distributed with the package, such as examples or a
42 -- README.
43 -- extra-source-files:
45 -- Constraint on the version of Cabal needed to build this package.
46 cabal-version:       >=1.10
48 data-files:          "../../gui/ghkl.ui"
50 executable ghkl
51   main-is:             ghkl.hs
52   build-depends:       base >=4.6 && <4.9
53                      , containers >=0.5 && <0.6
54                      , dimensional >= 0.10
55                      , monad-loops >= 0.4.2
56   other-modules:       Hkl, Hkl.Types, Hkl.C
57   hs-source-dirs:      src
58   default-language:    Haskell2010
59   pkgconfig-depends:   hkl
60   build-tools:         hsc2hs
62 library
63   -- Modules exported by the library.
64    exposed-modules:    Hkl, Hkl.Types, Hkl.C
66   -- Modules included in this library but not exported.
67   -- other-modules:
69   -- LANGUAGE extensions used by modules in this package.
70   other-extensions:    CPP, ForeignFunctionInterface, EmptyDataDecls, TypeFamilies, FlexibleInstances, FlexibleContexts, RecordWildCards
72   -- Other library packages from which modules are imported.
73   build-depends:       base >=4.6 && <4.9
74                      , containers >=0.5 && <0.6
75                      , dimensional >= 0.10
76                      , monad-loops >= 0.4.2
78   -- Directories containing source files.
79   hs-source-dirs:      src
81   -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
82   build-tools:         hsc2hs
84   -- Base language which the package is written in.
85   default-language:    Haskell2010
87   pkgconfig-depends: hkl
89 --  ghc-options: -pgml g++