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