Skip to content

Commit

Permalink
Merge pull request #5 from awkward-squad/upper-bounds
Browse files Browse the repository at this point in the history
add upper bounds to dependencies, and support hasql-1.6
  • Loading branch information
tstat authored Jan 10, 2023
2 parents 527d6c0 + f242f99 commit 792979d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@
hasql-interpolate = let
p = self.callCabal2nix "hasql-interpolate"
(cleanSource ./.) { };
in addTestToolDepends p [ prev.postgresql ];
in overrideCabal p (drv: {
testToolDepends = [ prev.postgresql ];
revision = null;
editedCabalFile = null;
});
});
in prev.haskell.packages // patchedGhcs;
};
Expand Down
33 changes: 17 additions & 16 deletions hasql-interpolate.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cabal-version: 2.4
name: hasql-interpolate
version: 0.1.0.3
x-revision: 1

author: Travis Staton <[email protected]>
category: Hasql, Database, PostgreSQL
Expand Down Expand Up @@ -35,22 +36,22 @@ library
Hasql.Interpolate.Internal.EncodeRow
Hasql.Interpolate.Internal.EncodeRow.TH

build-depends: base >= 4.14 && < 5
, hasql ^>= 1.4 || ^>= 1.5
, haskell-src-meta ^>= 0.8
, template-haskell >= 2.14
, megaparsec >= 8.0.0
, text
, time
, uuid
, scientific
, aeson
, transformers
, mtl
, vector
, containers
, bytestring
, array
build-depends: aeson ^>= 1.5 || ^>= 2.0 || ^>= 2.1,
array ^>= 0.5,
base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17,
bytestring ^>= 0.10 || ^>= 0.11,
containers ^>= 0.5 || ^>= 0.6,
haskell-src-meta ^>= 0.8,
hasql ^>= 1.4 || ^>= 1.5 || ^>= 1.6,
megaparsec ^>= 8.0.0 || ^>= 9.0 || ^>= 9.1 || ^>= 9.2 || ^>= 9.3,
mtl ^>= 2.1 || ^>= 2.2,
scientific ^>= 0.3,
template-haskell ^>= 2.14 || ^>= 2.15 || ^>= 2.16 || ^>= 2.17 || ^>= 2.18 || ^>= 2.19,
text ^>= 1.2.4 || ^>= 2.0,
time ^>= 1.9.3 || ^>= 1.10 || ^>= 1.11 || ^>= 1.12,
transformers ^>= 0.5 || ^>= 0.6,
uuid ^>= 1.3,
vector ^>= 0.11 || ^>= 0.12 || ^>= 0.13,

hs-source-dirs: lib
default-language: Haskell2010
Expand Down

0 comments on commit 792979d

Please sign in to comment.