diff --git a/http-api-data/0.4.2/http-api-data.cabal b/http-api-data/0.4.2/http-api-data.cabal new file mode 100644 index 00000000000..fac9b614794 --- /dev/null +++ b/http-api-data/0.4.2/http-api-data.cabal @@ -0,0 +1,120 @@ +cabal-version: >= 1.10 +name: http-api-data +version: 0.4.2 + +synopsis: Converting to/from HTTP API data like URL pieces, headers and query parameters. +category: Web +description: + This package defines typeclasses used for converting Haskell data types to and from HTTP API data. + . + Please see README.md + +license: BSD3 +license-file: LICENSE +author: Nickolay Kudasov +maintainer: Nickolay Kudasov +homepage: http://github.com/fizruk/http-api-data +stability: unstable +build-type: Simple + +extra-source-files: + include/overlapping-compat.h + test/*.hs + CHANGELOG.md + README.md + +tested-with: + GHC==7.8.4, + GHC==7.10.3, + GHC==8.0.2, + GHC==8.2.2, + GHC==8.4.4, + GHC==8.6.5, + GHC==8.8.4, + GHC==8.10.2 + +flag use-text-show + description: Use text-show library for efficient ToHttpApiData implementations. + default: False + manual: True + +library + hs-source-dirs: src/ + include-dirs: include/ + + -- GHC bundled + build-depends: base >= 4.7 && < 4.15 + , bytestring >= 0.10.4.0 && < 0.11 + , containers >= 0.5.5.1 && < 0.7 + , text >= 1.2.3.0 && < 1.3 + , transformers >= 0.3 && < 0.6 + + -- so Semigroup Builder exists + if impl(ghc >= 8.0) + build-depends: bytestring >= 0.10.8.1 + + -- other-dependencies + build-depends: + attoparsec >= 0.13.2.2 && < 0.14 + , attoparsec-iso8601 >= 1.0.1.0 && < 1.1 + , base-compat >= 0.10.5 && < 0.12 + , cookie >= 0.4.3 && < 0.5 + , hashable >= 1.2.7.0 && < 1.4 + , http-types >= 0.12.3 && < 0.13 + , tagged >= 0.8.5 && < 0.9 + , time-compat >= 1.9.2 && < 1.10 + , unordered-containers >= 0.2.10.0 && < 0.3 + , uuid-types >= 1.0.3 && <1.1 + + if !impl(ghc >= 7.10) + build-depends: + nats >= 1.1.2 && < 1.2, + void >= 0.7.3 && < 0.8 + + if !impl(ghc >= 8.0) + build-depends: semigroups >= 0.18.5 && < 0.20 + + if flag(use-text-show) + cpp-options: -DUSE_TEXT_SHOW + build-depends: text-show >= 3.8.2 && <3.9 + + exposed-modules: + Web.HttpApiData + Web.FormUrlEncoded + Web.Internal.FormUrlEncoded + Web.Internal.HttpApiData + ghc-options: -Wall + default-language: Haskell2010 + +test-suite spec + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + Web.Internal.FormUrlEncodedSpec + Web.Internal.HttpApiDataSpec + Web.Internal.TestInstances + hs-source-dirs: test + ghc-options: -Wall + default-language: Haskell2010 + build-tool-depends: hspec-discover:hspec-discover >= 2.7.1 && <2.8 + -- inherited depndencies + build-depends: + base + , base-compat + , bytestring + , cookie + , http-api-data + , nats + , text + , time-compat + , unordered-containers + , uuid-types + + build-depends: HUnit >= 1.6.0.0 && <1.7 + , hspec >= 2.7.1 && <2.8 + , QuickCheck >= 2.13.1 && <2.15 + , quickcheck-instances >= 0.3.21 && <0.4 + +source-repository head + type: git + location: https://github.com/fizruk/http-api-data diff --git a/http-api-data/0.4.2/http-api-data.json b/http-api-data/0.4.2/http-api-data.json new file mode 100644 index 00000000000..c9997e85c7d --- /dev/null +++ b/http-api-data/0.4.2/http-api-data.json @@ -0,0 +1 @@ +{"package-hashes":{"MD5":"bbba6b80c969079d4b67c6c30d74ecf0","Skein512_512":"b570a9e02a704ca4d9830621e5f684d5d94ca11020bd84113fbbc601cce6cf8a02f771818f80674e256b29f2ee3f1f3b3abf9ad303e46caf600e018d79b943f2","SHA1":"cfeb4d599edbc86418e494e9c73ba2e454335efa","SHA512":"99cd347221900e30678d5ceaf9d156d06fc31a9e05bc66f0cf8c90156835f1883d369673098d2f6ca2b838de88c67e6659807e73a8539b1e4c351fcc15bb9e2a","SHA256":"d4b2cf611ed4b4c1e7f4305914e02debc9112d4ba1d66fb3a53b8e017bdfee77"},"package-locations":["https://hackage.haskell.org/package/http-api-data-0.4.2/http-api-data-0.4.2.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/http-api-data-0.4.2.tar.gz"],"package-size":20228} \ No newline at end of file