]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
add mtl, organize packages alphabetically
[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.md
16 cabal-version:       >=1.18
17
18 library
19   exposed-modules:     FuncTorrent
20                        FuncTorrent.Bencode,
21                        FuncTorrent.Logger,
22                        FuncTorrent.Metainfo,
23                        FuncTorrent.Network
24                        FuncTorrent.Peer,
25                        FuncTorrent.Tracker
26
27   other-modules:       FuncTorrent.Utils
28   other-extensions:    OverloadedStrings
29   hs-source-dirs:      src
30   ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
31   default-language:    Haskell2010
32   build-depends:       base,
33                        base16-bytestring,
34                        binary,
35                        bytestring,
36                        containers,
37                        cryptohash,
38                        directory,
39                        HTTP,
40                        mtl,
41                        network,
42                        network-uri,
43                        parsec,
44                        QuickCheck,
45                        tasty,
46                        tasty-hunit
47
48 executable functorrent
49   main-is:             Main.hs
50   other-extensions:    OverloadedStrings
51   hs-source-dirs:      src
52   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
53   default-language:    Haskell2010
54   build-depends:       base,
55                        base16-bytestring,
56                        binary,
57                        bytestring,
58                        containers,
59                        cryptohash,
60                        directory,
61                        HTTP,
62                        mtl,
63                        network,
64                        network-uri,
65                        parsec,
66                        QuickCheck
67
68 test-suite functorrent-test
69   type:              exitcode-stdio-1.0
70   default-language:  Haskell2010
71   hs-source-dirs:    test
72   main-is:           Test.hs
73   other-modules:     BencodeTests
74   build-depends:     base,
75                      functorrent,
76                      bytestring,
77                      containers,
78                      directory,
79                      doctest,
80                      QuickCheck,
81                      tasty,
82                      tasty-hunit,
83                      QuickCheck,
84                      tasty-quickcheck,
85                      test-framework-quickcheck2