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:
commit
b888de48b8
5 changed files with 10 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -17,8 +17,6 @@ buildDunePackage {
|
|||
inherit (paf)
|
||||
version
|
||||
src
|
||||
useDune2
|
||||
minimumOCamlVersion
|
||||
;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue