From 9583f5e23e40c8a597e9db3f389ec15eb133b7b7 Mon Sep 17 00:00:00 2001 From: waddlaw Date: Fri, 19 Feb 2021 14:34:45 +0900 Subject: [PATCH] Tweak webauthn.cabal --- webauthn.cabal | 79 ++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 44 deletions(-) diff --git a/webauthn.cabal b/webauthn.cabal index d969a5f..79fa0cd 100644 --- a/webauthn.cabal +++ b/webauthn.cabal @@ -1,36 +1,31 @@ cabal-version: 2.4 - --- Initial package description 'webauthn.cabal' generated by 'cabal init'. --- For further documentation, see http://haskell.org/cabal/users-guide/ - name: webauthn version: 0.0.2 synopsis: Web Authentication API - --- description: homepage: https://github.com/fumieval/webauthn bug-reports: https://github.com/fumieval/webauthn/issues license: BSD-3-Clause license-file: LICENSE author: Fumiaki Kinoshita, Sumit Raja maintainer: fumiexcel@gmail.com - --- copyright: category: Web - --- extra-source-files: CHANGELOG.md +tested-with: GHC == 8.8.4 + , GHC == 8.10.4 common base-common build-depends: - , aeson - , base >=4 && <5 - , base64-bytestring - , bytestring - , errors - , x509-store + , aeson >=1.5 && <1.6 + , base >=4.13 && <4.15 + , base64-bytestring >=1.2 && <1.3 + , bytestring >=0.10 && <0.12 + , errors >=2.3 && <2.4 + , x509-store >=1.6 && <1.7 + + default-language: Haskell2010 library import: base-common + hs-source-dirs: src exposed-modules: WebAuthn WebAuthn.AndroidSafetyNet @@ -41,27 +36,23 @@ library WebAuthn.Types build-depends: - , aeson - , asn1-encoding - , asn1-types - , base >=4 && <5 - , base16-bytestring >=1.0.0.0 && <1.1.0.0 - , base64-bytestring - , cborg - , cereal - , containers - , cryptonite - , hashable - , memory - , serialise - , text - , transformers - , x509 - , x509-validation + , asn1-encoding >=0.9 && <0.10 + , asn1-types >=0.3 && <0.4 + , base16-bytestring >=1.0 && <1.1 + , cborg >=0.2 && <0.3 + , cereal >=0.5 && <0.6 + , containers >=0.6 && <0.7 + , cryptonite >=0.28 && <0.29 + , hashable >=1.3 && <1.4 + , memory >=0.14 && <1.16 + , serialise >=0.2 && <0.3 + , text >=1.2 && <1.3 + , transformers >=0.5 && <0.6 + , x509 >=1.7 && <1.8 + , x509-validation >=1.6 && <1.7 - hs-source-dirs: src ghc-options: -Wall - default-language: Haskell2010 + default-extensions: DuplicateRecordFields OverloadedStrings @@ -69,16 +60,16 @@ library test-suite test-webauthn import: base-common type: exitcode-stdio-1.0 - main-is: Tests.hs hs-source-dirs: test - default-language: Haskell2010 - default-extensions: - OverloadedStrings - QuasiQuotes + main-is: Tests.hs build-depends: - , interpolate - , tasty - , tasty-hunit - , uri-bytestring + , interpolate >=0.2 && <0.3 + , tasty >=1.4 && <1.5 + , tasty-hunit >=0.10 && <0.11 + , uri-bytestring >=0.3 && <0.4 , webauthn + + default-extensions: + OverloadedStrings + QuasiQuotes