Add source repository stanza to cabal file
[hsc2hs.git] / hsc2hs.cabal
1 Name: hsc2hs
2 Version: 0.68.1
3 Copyright: 2000, Marcin Kowalczyk
4 License: BSD3
5 License-File: LICENSE
6 Author: Marcin Kowalczyk <qrczak@knm.org.pl>
7 Maintainer: ghc-devs@haskell.org
8 Synopsis: A preprocessor that helps with writing Haskell bindings to C code
9 Bug-Reports: https://ghc.haskell.org/trac/ghc/newticket?component=hsc2hs
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 the
20     <http://downloads.haskell.org/~ghc/master/users-guide/utils.html#writing-haskell-interfaces-to-c-code-hsc2hs hsc2hs section>
21     in the GHC User's Guide.
22 Category: Development
23 Data-Files: template-hsc.h
24 build-type: Simple
25 cabal-version: >=1.10
26 extra-source-files: changelog.md
27
28 source-repository head
29     Type: git
30     Location: git://git.haskell.org/hsc2hs
31
32 Executable hsc2hs
33     Default-Language: Haskell2010
34     Main-Is: Main.hs
35     Other-Modules:
36         C
37         Common
38         CrossCodegen
39         DirectCodegen
40         Flags
41         HSCParser
42         UtilsCodegen
43
44     Other-Extensions: CPP, NoMonomorphismRestriction
45
46     Build-Depends: base       >= 4   && < 5,
47                    containers >= 0.2 && < 0.6,
48                    directory  >= 1   && < 1.4,
49                    filepath   >= 1   && < 1.5,
50                    process    >= 1.1 && < 1.5
51