]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
Make functorrent a library and an executable
[functorrent.git] / functorrent.cabal
1 -- Initial functorrent.cabal generated by cabal init. For further documentation,
2 -- see http://haskell.org/cabal/users-guide/
3
4 name:                functorrent
5 version:             0.1.0.0
6 synopsis:            A Bit-torrent client
7 description:         A bittorrent client
8 license:             GPL-3
9 license-file:        LICENSE
10 author:              Ramakrishnan Muthukrishnan
11 maintainer:          ram@rkrishnan.org
12 -- copyright:
13 category:            Network
14 build-type:          Simple
15 extra-source-files:  README
16 cabal-version:       >=1.18
17
18 library
19   exposed-modules:     FuncTorrent
20                        FuncTorrent.Bencode,
21                        FuncTorrent.Logger,
22                        FuncTorrent.Metainfo,
23                        FuncTorrent.Peer,
24                        FuncTorrent.Tracker
25   other-extensions:    OverloadedStrings
26   hs-source-dirs:      src
27   ghc-options:         -Wall -fwarn-incomplete-patterns
28   default-language:    Haskell2010
29   build-depends:       base,
30                        HTTP,
31                        base16-bytestring,
32                        binary,
33                        bytestring,
34                        containers,
35                        cryptohash,
36                        doctest,
37                        network-uri,
38                        parsec,
39                        time
40
41 executable functorrent
42   main-is:             Main.hs
43   other-extensions:    OverloadedStrings
44   hs-source-dirs:      src
45   ghc-options:         -Wall -fwarn-incomplete-patterns
46   default-language:    Haskell2010
47   build-depends:       base,
48                        HTTP,
49                        base16-bytestring,
50                        binary,
51                        bytestring,
52                        containers,
53                        cryptohash,
54                        doctest,
55                        network-uri,
56                        parsec,
57                        time