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