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