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

View file

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

View file

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

View file

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

View file

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