summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/alcotest/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/alcotest/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/alcotest/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/alcotest/default.nix b/pkgs/development/ocaml-modules/alcotest/default.nix
index 3ebf0f3ed6bd..94626f3c1798 100644
--- a/pkgs/development/ocaml-modules/alcotest/default.nix
+++ b/pkgs/development/ocaml-modules/alcotest/default.nix
@@ -1,17 +1,21 @@
{ lib, buildDunePackage, fetchurl
-, astring, cmdliner, fmt, uuidm, re, stdlib-shims
+, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf
}:
buildDunePackage rec {
pname = "alcotest";
- version = "1.0.1";
+ version = "1.2.3";
+
+ useDune2 = true;
src = fetchurl {
- url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
- sha256 = "1xlklxb83gamqbg8j5dzm5jk4mvcwkspxajh93p6vpw9ia1li1qc";
+ url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
+ sha256 = "1bmjcivbmd4vib15v4chycgd1gl8js9dk94vzxkdg06zxqd4hp08";
};
- propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims ];
+ propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
+
+ doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/alcotest";