packages feed

bencoding-lens-0.1.0.0: bencoding-lens.cabal

cabal-version:      >=1.10
name:               bencoding-lens
version:            0.1.0.0
synopsis:           Lenses for bencoded data.
description:        A port of lens-aeson for bencoding.
homepage:           https://github.com/jmorag/bencoding-lens
bug-reports:        https://github.com/jmorag/bencoding-lens/issues
license:            BSD3
license-file:       LICENSE
author:             Joseph Morag
maintainer:         Joseph Morag <jm@josephmorag.com>
copyright:          (c) 2021-2022, Joseph Morag
category:           Data
extra-source-files:
  .gitignore
  CHANGELOG.md
  README.md

build-type:         Simple
tested-with:
  GHC ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.2

source-repository head
  type:     git
  location: https://github.com/jmorag/bencoding-lens

library
  default-language: Haskell2010
  hs-source-dirs:   src
  exposed-modules:  Data.BEncode.Lens
  ghc-options:      -Wall
  build-depends:
      base        >=4.4      && <4.18
    , bencoding   >=0.4.5.4  && <0.5
    , bytestring  >=0.10.4.1 && <0.12
    , lens        >=4        && <5.2

test-suite bencoding-lens-torrent-test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Torrent.hs
  build-depends:
      base        >=4.4      && <4.18
    , lens        >=4        && <5.2
    , bencoding
    , bencoding-lens
    , http-conduit
    , cryptonite
    , hspec