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