--- Initial functorrent.cabal generated by cabal init. For further
--- documentation, see http://haskell.org/cabal/users-guide/
+-- Initial functorrent.cabal generated by cabal init. For further documentation,
+-- see http://haskell.org/cabal/users-guide/
name: functorrent
version: 0.1.0.0
license-file: LICENSE
author: Ramakrishnan Muthukrishnan
maintainer: ram@rkrishnan.org
--- copyright:
+-- copyright:
category: Network
build-type: Simple
--- extra-source-files:
-cabal-version: >=1.10
+extra-source-files: README
+cabal-version: >=1.18
-executable functorrent
- main-is: Main.hs
- -- other-modules:
- -- other-extensions:
- build-depends: base,
- HTTP,
+library
+ exposed-modules: FuncTorrent
+ FuncTorrent.Bencode,
+ FuncTorrent.Logger,
+ FuncTorrent.Metainfo,
+ FuncTorrent.Peer,
+ FuncTorrent.Tracker
+ other-extensions: OverloadedStrings
+ hs-source-dirs: src
+ ghc-options: -Wall -fwarn-incomplete-patterns
+ default-language: Haskell2010
+ build-depends: HTTP,
+ HUnit,
+ base,
base16-bytestring,
binary,
- bytestring,
+ bytestring,
containers,
cryptohash,
doctest,
- network-uri,
+ network-uri,
parsec,
- time
+ tasty,
+ tasty-hunit
+executable functorrent
+ main-is: Main.hs
+ other-extensions: OverloadedStrings
hs-source-dirs: src
ghc-options: -Wall -fwarn-incomplete-patterns
default-language: Haskell2010
+ build-depends: HTTP,
+ base,
+ base16-bytestring,
+ binary,
+ bytestring,
+ containers,
+ cryptohash,
+ doctest,
+ network-uri,
+ parsec
+
+test-suite lisper-test
+ type: exitcode-stdio-1.0
+ default-language: Haskell2010
+ hs-source-dirs: test
+ main-is: Test.hs
+ build-depends: HUnit,
+ base,
+ bytestring,
+ containers,
+ functorrent,
+ tasty,
+ tasty-hunit