haskellPackages.twain: build against supported version of http2
This commit is contained in:
parent
b6fbef4249
commit
fdc5f7e0cb
3 changed files with 39 additions and 0 deletions
|
@ -309,6 +309,9 @@ self: super: {
|
|||
# defined as >= 3.1 && < 3.2, can be removed once pandoc gets bumped by Stackage.
|
||||
patat = super.patat.override { pandoc = self.pandoc_3_1_6_1; };
|
||||
|
||||
# http2 also overridden in all-packages.nix for mailctl.
|
||||
twain = super.twain.override { http2 = self.http2_3_0_3; };
|
||||
|
||||
# The latest release on hackage has an upper bound on containers which
|
||||
# breaks the build, though it works with the version of containers present
|
||||
# and the upper bound doesn't exist in code anymore:
|
||||
|
|
|
@ -107,6 +107,7 @@ extra-packages:
|
|||
- hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-meta < 2.8 # 2022-12-07: Needed for elmPackages.elm / hspec-discover
|
||||
- hspec-golden == 0.1.* # 2022-04-07: Needed for elm-format
|
||||
- http2 < 3.3 # 2023-08-24: Needed for twain <https://github.com/alexmingoia/twain/issues/5>
|
||||
- immortal == 0.2.2.1 # required by Hasura 1.3.1, 2020-08-20
|
||||
- language-docker == 11.0.0 # required by hadolint 2.12.0, 2022-11-16
|
||||
- language-javascript == 0.7.0.0 # required by purescript
|
||||
|
|
|
@ -152450,6 +152450,41 @@ self: {
|
|||
license = lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"http2_3_0_3" = callPackage
|
||||
({ mkDerivation, aeson, aeson-pretty, array, async, base
|
||||
, base16-bytestring, bytestring, case-insensitive, containers
|
||||
, cryptonite, directory, filepath, gauge, Glob, heaps, hspec
|
||||
, hspec-discover, http-types, mwc-random, network
|
||||
, network-byte-order, network-run, psqueues, stm, text
|
||||
, time-manager, typed-process, unix-time, unordered-containers
|
||||
, vector
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "http2";
|
||||
version = "3.0.3";
|
||||
sha256 = "1kv99i3pnnx31xndlkaczrpd2j5mvzbqlfz1kaw6cwlwkdnl5bhv";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
array async base bytestring case-insensitive containers http-types
|
||||
network network-byte-order psqueues stm time-manager unix-time
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson aeson-pretty async base base16-bytestring bytestring
|
||||
cryptonite directory filepath Glob hspec http-types network
|
||||
network-byte-order network-run text typed-process
|
||||
unordered-containers vector
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
benchmarkHaskellDepends = [
|
||||
array base bytestring case-insensitive containers gauge heaps
|
||||
mwc-random network-byte-order psqueues stm
|
||||
];
|
||||
description = "HTTP/2 library";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"http2" = callPackage
|
||||
({ mkDerivation, aeson, aeson-pretty, array, async, base
|
||||
, base16-bytestring, bytestring, case-insensitive, containers
|
||||
|
|
Loading…
Reference in a new issue