packages feed

json-feed-1.0.15: json-feed.cabal

cabal-version: >= 1.10

name: json-feed
version: 1.0.15

synopsis: JSON Feed
description:
  This is an implementation of the JSON Feed spec in Haskell. The spec is
  available at <https://jsonfeed.org>. JSON Feed is similar to the Atom and RSS
  feed formats, but it is serialized as JSON rather than XML.

build-type: Simple
category: Web
extra-source-files:
  README.markdown
  feeds/allenpike.com.json
  feeds/daringfireball.net.json
  feeds/flyingmeat.com.json
  feeds/hypercritical.co.json
  feeds/inessential.com.json
  feeds/jsonfeed.org.json
  feeds/manton.org.json
  feeds/maybepizza.com.json
  feeds/shapeof.com.json
  feeds/therecord.co.json
  feeds/timetable.manton.org.json
license-file: LICENSE.markdown
license: MIT
maintainer: Taylor Fausak

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

library
  build-depends:
    base >= 4.13.0 && < 4.16
    , aeson >= 1.4.7 && < 1.6 || >= 2.0.0 && < 2.1
    , bytestring >= 0.10.10 && < 0.11
    , mime-types >= 0.1.0 && < 0.2
    , network-uri >= 2.6.3 && < 2.7
    , tagsoup >= 0.14.8 && < 0.15
    , text >= 1.2.4 && < 1.3
    , time >= 1.9.3 && < 1.10
  default-language: Haskell2010
  exposed-modules: JsonFeed
  ghc-options:
    -Weverything
    -Wno-implicit-prelude
    -Wno-missing-deriving-strategies
    -Wno-missing-exported-signatures
    -Wno-unsafe
  hs-source-dirs: src/lib

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

test-suite test
  build-depends:
    base -any
    , bytestring -any
    , filepath >= 1.4.2 && < 1.5
    , hspec >= 2.7.6 && < 2.10
    , json-feed -any
  default-language: Haskell2010
  hs-source-dirs: src/test
  main-is: Main.hs
  type: exitcode-stdio-1.0