Merge pull request #226657 from Niols/cohttp-5.1.0

ocamlPackages.cohttp*: 5.0.0 -> 5.1.0
This commit is contained in:
Ulrik Strid 2023-04-18 19:49:11 +02:00 committed by GitHub
commit 2f0a70084d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildDunePackage
, fetchurl
, cstruct
@ -48,7 +49,8 @@ buildDunePackage rec {
mirage-time
];
doCheck = true;
## NOTE: As of 18 april 2023 and ARP version 3.0.0, tests fail on Darwin.
doCheck = ! stdenv.isDarwin;
checkInputs = [
alcotest
mirage-clock-unix

View File

@ -6,14 +6,14 @@
buildDunePackage rec {
pname = "cohttp";
version = "5.0.0";
version = "5.1.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/ocaml-cohttp/releases/download/v${version}/cohttp-${version}.tbz";
sha256 = "sha256-/W/0uGyBg1XWGzoIYoWW2/UX1qfabo7exIG7BlPKWgU=";
url = "https://github.com/mirage/ocaml-cohttp/releases/download/v${version}/cohttp-v${version}.tbz";
sha256 = "sha256-mINgeBO7DSsWd84gYjQNUQFqbh8KBZ+S2bYI/iVWMAc=";
};
buildInputs = [ jsonm ppx_sexp_conv ];