From c601ccb4add2ca4f351af8513457c068f553b619 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 26 Jun 2021 07:35:18 +0200 Subject: [PATCH] Add dependency version ranges Also remove stack.yaml since it isn't used anymore. and adding libraries to the snapshots doesn't seem to be as easy as I hoped. --- graphql.cabal | 43 +++++++++++++++++++------------------------ stack.yaml | 9 --------- 2 files changed, 19 insertions(+), 33 deletions(-) delete mode 100644 stack.yaml diff --git a/graphql.cabal b/graphql.cabal index 0d9b231..53f0a84 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -20,6 +20,7 @@ build-type: Simple extra-source-files: CHANGELOG.md README.md +tested-with: GHC == 8.10.4 source-repository head type: git @@ -57,19 +58,19 @@ library src ghc-options: -Wall build-depends: - aeson - , base >=4.7 && <5 - , conduit - , containers - , exceptions - , hspec-expectations - , megaparsec - , parser-combinators - , scientific - , text - , transformers - , unordered-containers - , vector + aeson >= 1.5.6 && < 1.6 + , base >= 4.7 && < 5 + , conduit >= 1.3.4 && < 1.4 + , containers >= 0.6.2 && < 0.7 + , exceptions >= 0.10.4 && < 0.11 + , hspec-expectations >= 0.8.2 && < 0.9 + , megaparsec >= 9.0.1 && < 9.1 + , parser-combinators >= 1.3.0 && < 1.4 + , scientific >= 0.3.7 && < 0.4 + , text >= 1.2.4 && < 1.3 + , transformers >= 0.5.6 && < 0.6 + , unordered-containers >= 0.2.14 && < 0.3 + , vector >= 0.12.3 && < 0.13 default-language: Haskell2010 test-suite graphql-test @@ -93,22 +94,16 @@ test-suite graphql-test tests ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall build-depends: - QuickCheck + QuickCheck >= 2.14.1 && < 2.15 , aeson - , base >=4.7 && <5 + , base >= 4.7 && < 5 , conduit - , containers - , exceptions , graphql - , hspec - , hspec-expectations - , hspec-megaparsec + , hspec >= 2.8.2 && < 2.9 + , hspec-megaparsec >= 2.2.0 && < 2.3 , megaparsec - , parser-combinators - , raw-strings-qq + , raw-strings-qq >= 1.1 && < 1.2 , scientific , text - , transformers , unordered-containers - , vector default-language: Haskell2010 diff --git a/stack.yaml b/stack.yaml deleted file mode 100644 index 97b3334..0000000 --- a/stack.yaml +++ /dev/null @@ -1,9 +0,0 @@ -resolver: lts-17.10 - -packages: -- . - -extra-deps: [] -flags: {} - -pvp-bounds: lower