Follow changes in GHC build system
[hsc2hs.git] / hsc2hs.cabal
1 Name: hsc2hs
2 Version: 0.67
3 Copyright: 2000, Marcin Kowalczyk
4 Build-Depends: base, directory, process
5 License: BSD3
6 License-File: LICENSE
7 Author: Marcin Kowalczyk <qrczak@knm.org.pl>
8 Maintainer: cvs-fptools@haskell.org
9 Synopsis: A preprocessor that helps with writing Haskell bindings to C code
10 Description:
11     The hsc2hs program can be used to automate some parts of the
12     process of writing Haskell bindings to C code.  It reads an
13     almost-Haskell source file with embedded special constructs, and
14     outputs a real Haskell file with these constructs processed, based
15     on information taken from some C headers.  The extra constructs
16     provide Haskell counterparts of C types, values of C constants,
17     including sizes of C types, and access to fields of C structs.
18     .
19     For more details, see
20     <http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html>.
21 Category: Development
22 Data-Files: template-hsc.h
23 build-type: Simple
24 cabal-version: >=1.2
25
26 Executable hsc2hs
27     Main-Is: Main.hs
28     Other-Modules: HSCParser,
29                    DirectCodegen,
30                    CrossCodegen,
31                    UtilsCodegen,
32                    Common,
33                    C,
34                    Flags
35     -- needed for ReadP (used by Data.Version)
36     Hugs-Options: -98
37     Extensions: CPP, ForeignFunctionInterface
38
39     Build-Depends: base       >= 4   && < 5,
40                    containers >= 0.2 && < 0.6,
41                    directory  >= 1   && < 1.3,
42                    filepath   >= 1   && < 1.4,
43                    process    >= 1   && < 1.3
44