ocamlPackages.dispatch: 0.4.1 → 0.5.0

ocamlPackages.webmachine: 0.6.2 → 0.7.0
This commit is contained in:
Vincent Laporte 2020-11-11 06:42:30 +01:00 committed by Vincent Laporte
parent c1e60d9584
commit 597e7748d1
2 changed files with 10 additions and 8 deletions

View file

@ -1,21 +1,23 @@
{ lib, buildDunePackage, fetchFromGitHub, alcotest, result }:
{ lib, buildDunePackage, fetchFromGitHub, ocaml, alcotest, result }:
buildDunePackage rec {
pname = "dispatch";
version = "0.4.1";
version = "0.5.0";
useDune2 = true;
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-dispatch";
rev = version;
sha256 = "05kb9zcihk50r2haqz8vrlr7kmaka6vrs4j1z500lmnl877as6qr";
sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
};
propagatedBuildInputs = [ result ];
checkInputs = lib.optional doCheck alcotest;
checkInputs = [ alcotest ];
doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.05";
meta = {
inherit (src.meta) homepage;

View file

@ -5,7 +5,7 @@
buildDunePackage rec {
pname = "webmachine";
version = "0.6.2";
version = "0.7.0";
useDune2 = true;
minimumOCamlVersion = "4.04";
@ -14,12 +14,12 @@ buildDunePackage rec {
owner = "inhabitedtype";
repo = "ocaml-webmachine";
rev = version;
sha256 = "1zi1vsm589y2njwzsqkmdbxvs9s4xlgbd62xqw2scp60mccp09nk";
sha256 = "03ynb1l2jjqba88m9r8m5hwlm8izpfp617r4vcab5kmdim1l2ffx";
};
propagatedBuildInputs = [ cohttp dispatch ptime ];
checkInputs = lib.optional doCheck ounit;
checkInputs = [ ounit ];
doCheck = true;