Unverified Commit 2f0a7008 authored by Ulrik Strid's avatar Ulrik Strid Committed by GitHub
Browse files

Merge pull request #226657 from Niols/cohttp-5.1.0

ocamlPackages.cohttp*: 5.0.0 -> 5.1.0
parents 35c52f89 9684ea49
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{ 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
+3 −3
Original line number Diff line number Diff line
@@ -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 ];