summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-06-26 07:35:18 +0200
committerEugen Wissner <belka@caraus.de>2021-06-26 07:35:18 +0200
commitc601ccb4add2ca4f351af8513457c068f553b619 (patch)
tree8e5f11b033d90bdb3c702c415fffe1627a921293
parent96bb061666aad7778d5f03c3f999aa79133d099b (diff)
downloadgraphql-c601ccb4add2ca4f351af8513457c068f553b619.tar.gz
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.
-rw-r--r--graphql.cabal43
-rw-r--r--stack.yaml9
2 files changed, 19 insertions, 33 deletions
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