packages feed

derulo-2.0.0.2: derulo.cabal

cabal-version: 2.2

name: derulo
version: 2.0.0.2

synopsis: Parse and render JSON simply.
description: Derulo parses and renders JSON simply.

build-type: Simple
category: JSON
extra-source-files: CHANGELOG.markdown README.markdown
license-file: LICENSE.markdown
license: MIT
maintainer: Taylor Fausak

source-repository head
  location: https://github.com/tfausak/derulo
  type: git

flag pedantic
  default: False
  description: Enables @-Werror@, which turns warnings into errors.
  manual: True

common library
  build-depends:
    base >= 4.13.0 && < 4.18
  default-language: Haskell2010
  ghc-options:
    -Weverything
    -Wno-all-missed-specialisations
    -Wno-implicit-prelude
    -Wno-missing-deriving-strategies
    -Wno-missing-exported-signatures
    -Wno-safe

  if flag(pedantic)
    ghc-options: -Werror

  if impl(ghc >= 8.10)
    ghc-options:
      -Wno-missing-safe-haskell-mode
      -Wno-prepositive-qualified-module

  if impl(ghc >= 9.2)
    ghc-options:
      -Wno-missing-kind-signatures

common executable
  import: library

  build-depends: derulo
  ghc-options:
    -rtsopts
    -threaded
    -Wno-unused-packages

library
  import: library

  exposed-modules: Derulo
  hs-source-dirs: source/library

executable derulo
  import: executable

  hs-source-dirs: source/executable
  main-is: Main.hs

test-suite test
  import: executable

  build-depends:
    , HUnit >= 1.6.1 && < 1.7
  hs-source-dirs: source/test-suite
  main-is: Main.hs
  type: exitcode-stdio-1.0