packages feed

rexparse-0.1.0.0: rexparse.cabal

cabal-version:   3.0
name:            rexparse
version:         0.1.0.0
license:         BSD-3-Clause
license-file:    LICENSE
maintainer:      eraveline@gmail.com
author:          Raveline
tested-with:     ghc ==9.14.1 ghc ==9.12.2 ghc ==9.10.3
category:        Codec
build-type:      Simple
extra-doc-files: CHANGELOG.md
synopsis:        A library to handle rexpaint file format
homepage:        https://github.com/Raveline/Rexparse
bug-reports:     https://github.com/Raveline/Rexparse/issues
description:
    A library to read and write RexPaint (.xp) files: the gzip-compressed
    binary format used by the RexPaint ASCII-art editor
    (<https://www.gridsagegames.com/rexpaint/>).

source-repository head
    type:     git
    location: https://github.com/Raveline/Rexparse.git

library
    exposed-modules:    Data.Rexparse
    hs-source-dirs:     src
    default-language:   Haskell2010
    default-extensions:
        ImportQualifiedPost DerivingStrategies GeneralizedNewtypeDeriving
        DeriveAnyClass DeriveGeneric

    ghc-options:        -Wall
    build-depends:
        array >=0.5.7.0 && <0.6,
        base ^>=4.20 || ^>=4.21 || ^>=4.22,
        binary >=0.8.9.3 && <0.9,
        bytestring >=0.12.1.0 && <0.13,
        zlib >=0.7.1.1 && <0.8

executable rexparse-xp2png
    main-is:            Main.hs
    hs-source-dirs:     app
    default-language:   Haskell2010
    default-extensions: ImportQualifiedPost
    ghc-options:        -Wall
    build-depends:
        base ^>=4.20 || ^>=4.21 || ^>=4.22,
        JuicyPixels >=3.3.9 && <3.4,
        rexparse

test-suite rexparse-test
    type:             exitcode-stdio-1.0
    main-is:          Main.hs
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base ^>=4.20 || ^>=4.21 || ^>=4.22,
        hspec ^>=2.11,
        rexparse