]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
beginning of the filesystem module
[functorrent.git] / functorrent.cabal
1 name:                functorrent
2 version:             0.1.0.0
3 synopsis:            A BitTorrent client
4 description:         Please see README
5 homepage:            https://github.com/vu3rdd/functorrent
6 license:             GPL-3
7 license-file:        COPYING
8 author:              Ramakrishnan Muthukrishnan
9 maintainer:          ram@rkrishnan.org
10 copyright:           Copyright: (c) 2016 Ramakrishnan Muthukrishnan
11 category:            Network
12 build-type:          Simple
13 extra-source-files:  README
14 cabal-version:       >=1.10
15 tested-with:         GHC == 7.10.2
16
17 library
18   default-language:    Haskell2010
19   ghc-options:         -Wall
20   hs-source-dirs:      src
21   exposed-modules:     FuncTorrent.Bencode
22                      , FuncTorrent.Metainfo
23                      , FuncTorrent.Filesystem
24   build-depends:       base >= 4.7 && < 5
25                      , bytestring
26                      , containers
27                      , cryptohash
28                      , parsec
29
30 executable functorrent
31   default-language:    Haskell2010
32   ghc-options:         -threaded -rtsopts -with-rtsopts=-N
33   hs-source-dirs:      src/main
34   main-is:             Main.hs
35   build-depends:       base
36                      , functorrent
37
38 test-suite spec
39   default-language:    Haskell2010
40   ghc-options:         -Wall
41   type:                exitcode-stdio-1.0
42   other-modules:       BencodeSpec
43                      , MetainfoSpec
44   hs-source-dirs:      test
45   main-is:             Spec.hs
46   build-depends:       base
47                      , functorrent
48                      , hspec
49                      , bytestring
50                      , containers
51                      , QuickCheck
52
53
54 source-repository head
55   type:     git
56   location: https://github.com/vu3rdd/functorrent