]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
new modules FileSystem and PieceManager
[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:        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.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.Utils
30
31   other-extensions:    OverloadedStrings
32   hs-source-dirs:      src
33   ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
34   default-language:    Haskell2010
35   build-depends:       base,
36                        base16-bytestring,
37                        binary,
38                        bytestring,
39                        containers,
40                        cryptohash,
41                        directory,
42                        HTTP,
43                        mtl,
44                        network,
45                        network-uri,
46                        parsec,
47                        QuickCheck,
48                        safe,
49                        transformers
50
51 executable functorrent
52   main-is:             Main.hs
53   other-extensions:    OverloadedStrings
54   hs-source-dirs:      src/main
55   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
56   default-language:    Haskell2010
57   build-depends:       base,
58                        base16-bytestring,
59                        binary,
60                        bytestring,
61                        containers,
62                        cryptohash,
63                        directory,
64                        functorrent,
65                        HTTP,
66                        mtl,
67                        network,
68                        network-uri,
69                        QuickCheck,
70                        random,
71                        safe
72
73 test-suite functorrent-test
74   type:              exitcode-stdio-1.0
75   default-language:  Haskell2010
76   hs-source-dirs:    test
77   main-is:           Test.hs
78   other-modules:     BencodeTests
79   build-depends:     base,
80                      functorrent,
81                      bytestring,
82                      containers,
83                      directory,
84                      doctest,
85                      QuickCheck,
86                      tasty,
87                      tasty-hunit,
88                      QuickCheck,
89                      tasty-quickcheck,
90                      test-framework-quickcheck2