ocamlPackages.hpack: 0.10.0 → 0.11.0

This commit is contained in:
Vincent Laporte 2023-12-01 06:58:59 +01:00 committed by Vincent Laporte
parent f63903a90f
commit 26117abbca
2 changed files with 3 additions and 8 deletions

View file

@ -30,9 +30,6 @@ buildDunePackage rec {
src
;
duneVersion = "3";
minimalOCamlVersion = "4.06";
propagatedBuildInputs = [
angstrom
faraday
@ -42,8 +39,7 @@ buildDunePackage rec {
httpaf
];
# Tests fail with ≤ 4.07
doCheck = lib.versionAtLeast ocaml.version "4.08";
doCheck = true;
preCheck = ''
ln -s "${http2-frame-test-case}" lib_test/http2-frame-test-case
'';

View file

@ -7,14 +7,13 @@
buildDunePackage rec {
pname = "hpack";
version = "0.10.0";
version = "0.11.0";
src = fetchurl {
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
hash = "sha256-n9avpVL6HD2KBON2FpnUeuH3HOUDOA29iSmjdcxMRvE=";
hash = "sha256-GdXwazlgDurjzy7ekLpuMkCii8W+F/jl/IBv/WTHgFM=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [