]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
Fix cabal dependencies
[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
26   other-modules:       FuncTorrent.Utils
27   other-extensions:    OverloadedStrings
28   hs-source-dirs:      src
29   ghc-options:         -Wall -fwarn-incomplete-patterns
30   default-language:    Haskell2010
31   build-depends:       base,
32                        base16-bytestring,
33                        binary,
34                        bytestring,
35                        containers,
36                        cryptohash,
37                        HTTP,
38                        network-uri,
39                        parsec
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                        base16-bytestring,
49                        binary,
50                        bytestring,
51                        containers,
52                        cryptohash,
53                        HTTP,
54                        network-uri,
55                        parsec
56
57 test-suite functorrent-test
58   type:              exitcode-stdio-1.0
59   default-language:  Haskell2010
60   hs-source-dirs:    test
61   main-is:           Test.hs
62   build-depends:     base,
63                      functorrent,
64                      bytestring,
65                      containers,
66                      doctest,
67                      tasty,
68                      tasty-hunit