Skip to content

Commit

Permalink
bump bounds for exon
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Sep 18, 2023
1 parent c1caa58 commit 2f3302b
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 4 deletions.
7 changes: 4 additions & 3 deletions local.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ hix.pro ({config, lib, ...}: {
formatTag = { name, version }: if name == null then version else "${name}-${version}";
};

overrides = {unbreak, ...}: {
exon = unbreak;
overrides = {hackage, ...}: {
exon = hackage "1.5.0.0" "07jawnnmpdqfnvmayv64xc4n0j9mbcgdyyqsg3dn3a3z1f4fxnfm";
flatparse = hackage "0.5.0.1" "0y6axksh2hqp8v58676a7zmwf0in7v6hmyfv8sfdx4x0acq2vjhr";
};
gen-overrides.enable = true;

Expand Down Expand Up @@ -70,7 +71,7 @@ hix.pro ({config, lib, ...}: {
test.enable = true;
test.dependencies = [
"Cabal"
"exon ^>= 1.4"
"exon >= 1.4 && < 1.6"
"hedgehog >= 1.1 && < 1.3"
"path ^>= 0.9"
"path-io >= 1.7 && < 1.9"
Expand Down
236 changes: 236 additions & 0 deletions ops/overrides.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,248 @@
{
dev = {
exon = {
meta = {
sha256 = "07jawnnmpdqfnvmayv64xc4n0j9mbcgdyyqsg3dn3a3z1f4fxnfm";
ver = "1.5.0.0";
};
drv = { mkDerivation, base, criterion, flatparse, generics-sop
, ghc-hs-meta, hedgehog, incipit-base, lib, tasty, tasty-hedgehog
, template-haskell
}:
mkDerivation {
pname = "exon";
version = "1.5.0.0";
src = /nix/store/jh1njmdacy2200l6ixaiirgr8lbnwj7v-source;
libraryHaskellDepends = [
base flatparse generics-sop ghc-hs-meta incipit-base
template-haskell
];
testHaskellDepends = [
base hedgehog incipit-base tasty tasty-hedgehog template-haskell
];
benchmarkHaskellDepends = [ base criterion incipit-base ];
homepage = "https://github.com/tek/exon#readme";
description = "Customizable quasiquote interpolation";
license = "BSD-2-Clause-Patent";
}
;
}
;
flatparse = {
meta = {
sha256 = "0y6axksh2hqp8v58676a7zmwf0in7v6hmyfv8sfdx4x0acq2vjhr";
ver = "0.5.0.1";
};
drv = { mkDerivation, attoparsec, base, bytestring, containers, gauge
, hspec, HUnit, integer-gmp, lib, megaparsec, parsec, primitive
, QuickCheck, quickcheck-instances, template-haskell, utf8-string
}:
mkDerivation {
pname = "flatparse";
version = "0.5.0.1";
src = /nix/store/xkg9z7kvk4a3v2dfl0mh3sz50wl56srx-source;
libraryHaskellDepends = [
base bytestring containers integer-gmp template-haskell utf8-string
];
testHaskellDepends = [
base bytestring hspec HUnit QuickCheck quickcheck-instances
utf8-string
];
benchmarkHaskellDepends = [
attoparsec base bytestring gauge integer-gmp megaparsec parsec
primitive utf8-string
];
homepage = "https://github.com/AndrasKovacs/flatparse#readme";
description = "High-performance parsing from strict bytestrings";
license = lib.licenses.mit;
}
;
}
;
};
ghc92 = {
exon = {
meta = {
sha256 = "07jawnnmpdqfnvmayv64xc4n0j9mbcgdyyqsg3dn3a3z1f4fxnfm";
ver = "1.5.0.0";
};
drv = { mkDerivation, base, criterion, flatparse, generics-sop
, ghc-hs-meta, hedgehog, incipit-base, lib, tasty, tasty-hedgehog
, template-haskell
}:
mkDerivation {
pname = "exon";
version = "1.5.0.0";
src = /nix/store/jh1njmdacy2200l6ixaiirgr8lbnwj7v-source;
libraryHaskellDepends = [
base flatparse generics-sop ghc-hs-meta incipit-base
template-haskell
];
testHaskellDepends = [
base hedgehog incipit-base tasty tasty-hedgehog template-haskell
];
benchmarkHaskellDepends = [ base criterion incipit-base ];
homepage = "https://github.com/tek/exon#readme";
description = "Customizable quasiquote interpolation";
license = "BSD-2-Clause-Patent";
}
;
}
;
flatparse = {
meta = {
sha256 = "0y6axksh2hqp8v58676a7zmwf0in7v6hmyfv8sfdx4x0acq2vjhr";
ver = "0.5.0.1";
};
drv = { mkDerivation, attoparsec, base, bytestring, containers, gauge
, hspec, HUnit, integer-gmp, lib, megaparsec, parsec, primitive
, QuickCheck, quickcheck-instances, template-haskell, utf8-string
}:
mkDerivation {
pname = "flatparse";
version = "0.5.0.1";
src = /nix/store/xkg9z7kvk4a3v2dfl0mh3sz50wl56srx-source;
libraryHaskellDepends = [
base bytestring containers integer-gmp template-haskell utf8-string
];
testHaskellDepends = [
base bytestring hspec HUnit QuickCheck quickcheck-instances
utf8-string
];
benchmarkHaskellDepends = [
attoparsec base bytestring gauge integer-gmp megaparsec parsec
primitive utf8-string
];
homepage = "https://github.com/AndrasKovacs/flatparse#readme";
description = "High-performance parsing from strict bytestrings";
license = lib.licenses.mit;
}
;
}
;
};
ghc94 = {
exon = {
meta = {
sha256 = "07jawnnmpdqfnvmayv64xc4n0j9mbcgdyyqsg3dn3a3z1f4fxnfm";
ver = "1.5.0.0";
};
drv = { mkDerivation, base, criterion, flatparse, generics-sop
, ghc-hs-meta, hedgehog, incipit-base, lib, tasty, tasty-hedgehog
, template-haskell
}:
mkDerivation {
pname = "exon";
version = "1.5.0.0";
src = /nix/store/jh1njmdacy2200l6ixaiirgr8lbnwj7v-source;
libraryHaskellDepends = [
base flatparse generics-sop ghc-hs-meta incipit-base
template-haskell
];
testHaskellDepends = [
base hedgehog incipit-base tasty tasty-hedgehog template-haskell
];
benchmarkHaskellDepends = [ base criterion incipit-base ];
homepage = "https://github.com/tek/exon#readme";
description = "Customizable quasiquote interpolation";
license = "BSD-2-Clause-Patent";
}
;
}
;
flatparse = {
meta = {
sha256 = "0y6axksh2hqp8v58676a7zmwf0in7v6hmyfv8sfdx4x0acq2vjhr";
ver = "0.5.0.1";
};
drv = { mkDerivation, attoparsec, base, bytestring, containers, gauge
, hspec, HUnit, integer-gmp, lib, megaparsec, parsec, primitive
, QuickCheck, quickcheck-instances, template-haskell, utf8-string
}:
mkDerivation {
pname = "flatparse";
version = "0.5.0.1";
src = /nix/store/xkg9z7kvk4a3v2dfl0mh3sz50wl56srx-source;
libraryHaskellDepends = [
base bytestring containers integer-gmp template-haskell utf8-string
];
testHaskellDepends = [
base bytestring hspec HUnit QuickCheck quickcheck-instances
utf8-string
];
benchmarkHaskellDepends = [
attoparsec base bytestring gauge integer-gmp megaparsec parsec
primitive utf8-string
];
homepage = "https://github.com/AndrasKovacs/flatparse#readme";
description = "High-performance parsing from strict bytestrings";
license = lib.licenses.mit;
}
;
}
;
};
hls = {
};
min = {
exon = {
meta = {
sha256 = "07jawnnmpdqfnvmayv64xc4n0j9mbcgdyyqsg3dn3a3z1f4fxnfm";
ver = "1.5.0.0";
};
drv = { mkDerivation, base, criterion, flatparse, generics-sop
, ghc-hs-meta, hedgehog, incipit-base, lib, tasty, tasty-hedgehog
, template-haskell
}:
mkDerivation {
pname = "exon";
version = "1.5.0.0";
src = /nix/store/jh1njmdacy2200l6ixaiirgr8lbnwj7v-source;
libraryHaskellDepends = [
base flatparse generics-sop ghc-hs-meta incipit-base
template-haskell
];
testHaskellDepends = [
base hedgehog incipit-base tasty tasty-hedgehog template-haskell
];
benchmarkHaskellDepends = [ base criterion incipit-base ];
homepage = "https://github.com/tek/exon#readme";
description = "Customizable quasiquote interpolation";
license = "BSD-2-Clause-Patent";
}
;
}
;
flatparse = {
meta = {
sha256 = "0y6axksh2hqp8v58676a7zmwf0in7v6hmyfv8sfdx4x0acq2vjhr";
ver = "0.5.0.1";
};
drv = { mkDerivation, attoparsec, base, bytestring, containers, gauge
, hspec, HUnit, integer-gmp, lib, megaparsec, parsec, primitive
, QuickCheck, quickcheck-instances, template-haskell, utf8-string
}:
mkDerivation {
pname = "flatparse";
version = "0.5.0.1";
src = /nix/store/xkg9z7kvk4a3v2dfl0mh3sz50wl56srx-source;
libraryHaskellDepends = [
base bytestring containers integer-gmp template-haskell utf8-string
];
testHaskellDepends = [
base bytestring hspec HUnit QuickCheck quickcheck-instances
utf8-string
];
benchmarkHaskellDepends = [
attoparsec base bytestring gauge integer-gmp megaparsec parsec
primitive utf8-string
];
homepage = "https://github.com/AndrasKovacs/flatparse#readme";
description = "High-performance parsing from strict bytestrings";
license = lib.licenses.mit;
}
;
}
;
};
}
2 changes: 1 addition & 1 deletion packages/hix/hix.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ test-suite hix-test
build-depends:
Cabal
, base ==4.*
, exon ==1.4.*
, exon >=1.4 && <1.6
, hedgehog >=1.1 && <1.3
, hix
, incipit-base ==0.5.*
Expand Down

0 comments on commit 2f3302b

Please sign in to comment.