Merge pull request #191549 from vbgl/ocaml-paf-0.1.0

ocamlPackages.paf: 0.0.8 → 0.1.0; hpack, h2: 0.8.0 → 0.9.0
This commit is contained in:
superherointj 2022-09-19 09:17:05 -03:00 committed by GitHub
commit b888de48b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 17 deletions

View file

@ -28,10 +28,9 @@ buildDunePackage rec {
inherit (hpack)
version
src
useDune2
;
minimumOCamlVersion = "4.06";
minimalOCamlVersion = "4.06";
propagatedBuildInputs = [
angstrom
@ -42,7 +41,7 @@ buildDunePackage rec {
httpaf
];
# Tests fail with 4.06
# Tests fail with ≤ 4.07
doCheck = lib.versionAtLeast ocaml.version "4.08";
preCheck = ''
ln -s "${http2-frame-test-case}" lib_test/http2-frame-test-case

View file

@ -7,15 +7,14 @@
buildDunePackage rec {
pname = "hpack";
version = "0.8.0";
version = "0.9.0";
src = fetchurl {
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
sha256 = "0qcn3yvyz0h419fjg9nb20csfmwmh3ihz0zb0jfzdycf5w4mlry6";
sha256 = "sha256-7gjRhJs2mufQbImAXiKFT9mZ1kHGSHHwjCVZM5f0C14=";
};
useDune2 = true;
minimumOCamlVersion = "4.04";
minimalOCamlVersion = "4.04";
propagatedBuildInputs = [
angstrom

View file

@ -22,8 +22,6 @@ buildDunePackage {
inherit (paf)
version
src
useDune2
minimumOCamlVersion
;
propagatedBuildInputs = [
@ -34,7 +32,7 @@ buildDunePackage {
ipaddr
];
doCheck = false; # tests fail
doCheck = true;
checkInputs = [
alcotest-lwt
fmt

View file

@ -25,15 +25,14 @@
buildDunePackage rec {
pname = "paf";
version = "0.0.8";
version = "0.1.0";
src = fetchurl {
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
sha256 = "CyIIV11G7oUPPHuhov52LP4Ih4pY6bcUApD23/9q39k=";
sha256 = "sha256-JIJjECEbajauowbXot19vtiDhTpGAQiSCBY0AHZOyZM=";
};
useDune2 = true;
minimumOCamlVersion = "4.08";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
mirage-stack
@ -49,7 +48,7 @@ buildDunePackage rec {
tcpip
];
doCheck = false;
doCheck = true;
checkInputs = [
lwt
logs

View file

@ -17,8 +17,6 @@ buildDunePackage {
inherit (paf)
version
src
useDune2
minimumOCamlVersion
;
propagatedBuildInputs = [