File: bencode.cabal

package info (click to toggle)
haskell-bencode 0.6.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 84 kB
  • sloc: haskell: 327; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,930 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name:               bencode
version:            0.6.1.1
synopsis:           Parsers and printers for bencoded data.
description:        Parsers and printers for bencoded data. Bencode (pronounced like B
                    encode) is the encoding used by the peer-to-peer file sharing system
                    BitTorrent for storing and transmitting loosely structured data.
license:            BSD3
license-file:       LICENSE
copyright:          (c) 2005-2009, David Himmelstrup,
                    (c) 2006 Lemmih <lemmih@gmail.com>,
                    (c) 2005 Jesper Louis Andersen <jlouis@mongers.org>
author:             Lemmih <lemmih@gmail.com>,
                    Jesper Louis Andersen <jlouis@mongers.org>,
                    Christopher Reichert <creichert07@gmail.com>
maintainer:         Peter Simons <simons@cryp.to>
tested-with:        GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2,
                    GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.2
category:           Text
build-type:         Simple
extra-source-files: README.md
cabal-version:      >= 1.10

source-repository head
  type:     git
  location: https://github.com/creichert/bencode

library
  exposed-modules:    Data.BEncode
                      Data.BEncode.Lexer
                      Data.BEncode.Parser
                      Data.BEncode.Reader
  hs-source-dirs:     src
  build-depends:      base                == 4.*
                    , binary
                    , bytestring
                    , containers
                    , parsec
                    , transformers
                    , transformers-compat >= 0.4
  default-language:   Haskell2010
  default-extensions: PatternGuards

test-suite spec
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   tests
  build-depends:    base, QuickCheck, bencode, bytestring, containers, hspec
  default-language: Haskell2010