packages feed

aeson-jsonpath-0.1.0.0: aeson-jsonpath.cabal

name:               aeson-jsonpath
version:            0.1.0.0
synopsis:           Parse and run JSONPath queries on Aeson documents
description:        RFC 9535 compliant JSONPath parsing and querying
                    package. JSONPath is similar to XPath for querying XML documents.
license:            MIT
license-file:       LICENSE
author:             Taimoor Zaeem
maintainer:         Taimoor Zaeem <mtaimoorzaeem@gmail.com>
category:           JSON, Text, Web
homepage:           https://github.com/taimoorzaeem/aeson-jsonpath
bug-reports:        https://github.com/taimoorzaeem/aeson-jsonpath/issues
build-type:         Simple
extra-source-files: CHANGELOG.md
cabal-version:      >= 1.10

tested-with:
  -- On Ubuntu Latest
  GHC == 9.4.5

source-repository head
  type: git
  location: https://github.com/taimoorzaeem/aeson-jsonpath

library
  default-language:   Haskell2010
  default-extensions: OverloadedStrings
                      NoImplicitPrelude
  hs-source-dirs:     src
  exposed-modules:    Data.Aeson.JSONPath
                      Data.Aeson.JSONPath.Parser
  build-depends:      aeson                     >= 2.0.3 && < 2.3
                    , base                      >= 4.9 && < 4.20
                    , parsec                    >= 3.1.11 && < 3.2
                    , protolude                 >= 0.3.1 && < 0.4
                    , vector                    >= 0.11 && < 0.14

  ghc-options:        -Wall

test-suite spec
  type:               exitcode-stdio-1.0
  default-language:   Haskell2010
  default-extensions: OverloadedStrings
                      NoImplicitPrelude
  hs-source-dirs:     test
  main-is:            Main.hs
  other-modules:      ParserSpec
                      QuerySpec
  build-depends:      aeson                     >= 2.0.3 && < 2.3
                    , aeson-jsonpath
                    , hspec                     >= 2.3 && < 2.12
                    , parsec                    >= 3.1.11 && < 3.2
                    , protolude                 >= 0.3.1 && < 0.4

  ghc-options:        -Wall