]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
more hlint cleanups
[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.2.0
6 synopsis:            A Bit-torrent client
7 description:         A bittorrent client
8 license:             GPL-3
9 license-file:        COPYING
10 author:              Ramakrishnan Muthukrishnan
11 maintainer:          ram@rkrishnan.org
12 -- copyright:
13 category:            Network
14 build-type:          Simple
15 extra-source-files:  README.md
16 cabal-version:       >=1.18
17
18 library
19   exposed-modules:     FuncTorrent.Bencode,
20                        FuncTorrent.FileSystem,
21                        FuncTorrent.Logger,
22                        FuncTorrent.Metainfo,
23                        FuncTorrent.Network
24                        FuncTorrent.Peer,
25                        FuncTorrent.PeerMsgs,
26                        FuncTorrent.PieceManager,
27                        FuncTorrent.Server,
28                        FuncTorrent.Tracker,
29                        FuncTorrent.Tracker.Http,
30                        FuncTorrent.Tracker.Types,
31                        FuncTorrent.Tracker.Udp,
32                        FuncTorrent.Utils
33
34   other-extensions:    OverloadedStrings
35   hs-source-dirs:      src
36   ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
37   default-language:    Haskell2010
38   build-depends:       base,
39                        base16-bytestring,
40                        binary,
41                        bytestring,
42                        containers,
43                        cryptohash,
44                        directory,
45                        HTTP,
46                        mtl,
47                        network,
48                        network-uri,
49                        parsec,
50                        QuickCheck,
51                        random,
52                        safe,
53                        transformers
54
55 executable functorrent
56   main-is:             Main.hs
57   other-extensions:    OverloadedStrings
58   hs-source-dirs:      src/main
59   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
60   default-language:    Haskell2010
61   build-depends:       base,
62                        base16-bytestring,
63                        binary,
64                        bytestring,
65                        containers,
66                        cryptohash,
67                        directory,
68                        functorrent,
69                        HTTP,
70                        mtl,
71                        network,
72                        network-uri,
73                        QuickCheck,
74                        random,
75                        safe
76
77 test-suite functorrent-test
78   type:              exitcode-stdio-1.0
79   default-language:  Haskell2010
80   hs-source-dirs:    test
81   main-is:           Test.hs
82   other-modules:     BencodeTests
83   build-depends:     base,
84                      functorrent,
85                      bytestring,
86                      containers,
87                      directory,
88                      doctest,
89                      QuickCheck,
90                      tasty,
91                      tasty-hunit,
92                      QuickCheck,
93                      tasty-quickcheck,
94                      test-framework-quickcheck2