From 233a365a04bedd28c261f31f339402c61ef36656 Mon Sep 17 00:00:00 2001 From: Ian Grant Jeffries Date: Mon, 26 Jun 2017 16:51:23 -0400 Subject: [PATCH] Track upper bounds in Hackage revision instead of source. --- hjsonpointer.cabal | 22 +++++++++++----------- shell.nix | 8 ++++++++ stack.yaml | 7 +++++++ 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 shell.nix create mode 100644 stack.yaml diff --git a/hjsonpointer.cabal b/hjsonpointer.cabal index d42b699..4258849 100644 --- a/hjsonpointer.cabal +++ b/hjsonpointer.cabal @@ -1,5 +1,5 @@ name: hjsonpointer -version: 1.1.1 +version: 1.2.0 synopsis: JSON Pointer library homepage: https://github.com/seagreen/hjsonpointer license: MIT @@ -22,15 +22,15 @@ library exposed-modules: JSONPointer build-depends: - base >= 4.6 && < 4.10 - , aeson >= 0.7 && < 1.3 - , hashable >= 1.2 && < 1.3 - , QuickCheck >= 2.8 && < 2.10 - , unordered-containers >= 0.2 && < 0.3 - , semigroups >= 0.18 && < 1.0 + base >= 4.6 && < 4.10 + , aeson >= 0.7 + , hashable >= 1.2 + , QuickCheck >= 2.8 + , unordered-containers >= 0.2 + , semigroups >= 0.18 -- ^ for GHCs < 8 - , text >= 1.2 && < 1.3 - , vector >= 0.10 && < 1.0 + , text >= 1.2 + , vector >= 0.10 test-suite unit hs-source-dirs: @@ -48,8 +48,8 @@ test-suite unit aeson , base , hjsonpointer - , hspec >= 2.2 && < 3.0 - , http-types >= 0.8 && < 1.0 + , hspec >= 2.2 + , http-types >= 0.8 , QuickCheck , unordered-containers , text diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1a8c29c --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +with (import {}); + +haskell.lib.buildStackProject { + name = "none"; + inherit ghc; + buildInputs = [ + ]; +} diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..a8b55b3 --- /dev/null +++ b/stack.yaml @@ -0,0 +1,7 @@ +resolver: lts-8.20 +extra-deps: + - QuickCheck-2.10.0.1 +pvp-bounds: upper-revision +nix: + enable: true + shell-file: shell.nix