packages feed

gemmula-1.2.0: gemmula.cabal

cabal-version:      2.2
name:               gemmula
version:            1.2.0
category:           Text, Gemini
homepage:           https://codeberg.org/sena/gemmula
bug-reports:        https://codeberg.org/sena/gemmula/issues
synopsis:           a tiny gemtext parser
description:
    gemmula is a tiny gemtext (unofficially @text/gemini@) parser from and back into
    `Text', attempting to be /mostly/ compliant with the
    [Gemini hypertext format specification](https://geminiprotocol.net/docs/gemtext-specification.gmi)
    while being somewhat practical.
license:            LGPL-3.0-or-later
license-file:       LICENSE
copyright:          (c) Sena 2024
author:             Sena <contact@sena.pink>
maintainer:         contact@sena.pink
build-type:         Simple
tested-with:        GHC == 9.6.5, GHC == 9.8.2
extra-source-files: README.md, ChangeLog.md

source-repository head
  location: https://codeberg.org/sena/gemmula
  type:     git

library
  default-language: Haskell2010
  hs-source-dirs:  src
  exposed-modules: Text.Gemini
  build-depends:   base >= 4.16 && < 5
                 , text >= 2.0 && < 2.2
  ghc-options:     -Wall

test-suite unit
  default-language: Haskell2010
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Test.hs
  build-depends:  base
                , text
                , HUnit >= 1.6 && < 2
                , gemmula
  ghc-options:    -Wall