]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
Peer: refactor pickPiece function
[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                        safe,
46                        tasty,
47                        tasty-hunit
48
49 executable functorrent
50   main-is:             Main.hs
51   other-extensions:    OverloadedStrings
52   hs-source-dirs:      src
53   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
54   default-language:    Haskell2010
55   build-depends:       base,
56                        base16-bytestring,
57                        binary,
58                        bytestring,
59                        containers,
60                        cryptohash,
61                        directory,
62                        HTTP,
63                        mtl,
64                        network,
65                        network-uri,
66                        parsec,
67                        QuickCheck,
68                        safe
69
70 test-suite functorrent-test
71   type:              exitcode-stdio-1.0
72   default-language:  Haskell2010
73   hs-source-dirs:    test
74   main-is:           Test.hs
75   other-modules:     BencodeTests
76   build-depends:     base,
77                      functorrent,
78                      bytestring,
79                      containers,
80                      directory,
81                      doctest,
82                      QuickCheck,
83                      tasty,
84                      tasty-hunit,
85                      QuickCheck,
86                      tasty-quickcheck,
87                      test-framework-quickcheck2