ocamlPackages.alcotest: 1.2.3 -> 1.3.0
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit is contained in:
parent
9007023a70
commit
f356088507
2 changed files with 7 additions and 4 deletions
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "alcotest";
|
pname = "alcotest";
|
||||||
version = "1.2.3";
|
version = "1.3.0";
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
|
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
|
||||||
sha256 = "1bmjcivbmd4vib15v4chycgd1gl8js9dk94vzxkdg06zxqd4hp08";
|
sha256 = "sha256-efnevbyolTdNb91zr4pHDcvgaLQQSD01wEu2zMM+iaw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
|
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
{ lib, buildDunePackage, alcotest, logs, ocaml_lwt }:
|
{ lib, buildDunePackage, alcotest, logs, ocaml_lwt, fmt
|
||||||
|
, re, cmdliner
|
||||||
|
}:
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "alcotest-lwt";
|
pname = "alcotest-lwt";
|
||||||
|
|
||||||
inherit (alcotest) version src useDune2;
|
inherit (alcotest) version src useDune2;
|
||||||
|
|
||||||
propagatedBuildInputs = [ alcotest logs ocaml_lwt ];
|
propagatedBuildInputs = [ alcotest logs ocaml_lwt fmt ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = [ re cmdliner ];
|
||||||
|
|
||||||
meta = alcotest.meta // {
|
meta = alcotest.meta // {
|
||||||
description = "Lwt-based helpers for Alcotest";
|
description = "Lwt-based helpers for Alcotest";
|
||||||
|
|
Loading…
Reference in a new issue