cabal-version: 2.2
name: byte-count-reader
version: 0.10.1
license: GPL-3.0-only
license-file: LICENSE
copyright: 2020 Daniel Rolls
maintainer: daniel.rolls.27@googlemail.com
author: Daniel Rolls
homepage: https://github.com/danielrolls/byte-count-reader#readme
bug-reports: https://github.com/danielrolls/byte-count-reader/issues
synopsis: Read strings describing a number of bytes like 2Kb and 0.5 MiB
description:
    Please see the README on GitHub at <https://github.com/danielrolls/byte-count-reader#readme>
category: Text
build-type: Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
    type: git
    location: https://github.com/danielrolls/byte-count-reader

library
    exposed-modules:
        Data.ByteCountReader
        Paths_byte_count_reader
    hs-source-dirs: src
    autogen-modules:
        Paths_byte_count_reader
    default-language: Haskell2010
    default-extensions: OverloadedStrings
    build-depends:
        base >=4.7 && <5,
        extra >=1.6.21 && <1.8,
        parsec >=3.1.14.0 && <3.2,
        parsec-numbers >=0.1.0 && <0.2,
        text >=1.2.4.0 && <1.3

test-suite haskelltest-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    hs-source-dirs: test
    other-modules:
        Paths_byte_count_reader
    default-language: Haskell2010
    default-extensions: OverloadedStrings
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.7 && <5,
        byte-count-reader -any,
        extra >=1.6.21 && <1.8,
        hspec >=2.7.1 && <2.8,
        parsec >=3.1.14.0 && <3.2,
        parsec-numbers >=0.1.0 && <0.2,
        text >=1.2.4.0 && <1.3