about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-12-05 17:27:48 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2020-12-08 17:19:48 +0100
commit567e02e20450b3863545a57199c2bea42fe42829 (patch)
treea7a279e3c3003fb53c518556eed3d555e95049f6 /pkgs/development/ocaml-modules
parent30487789abe79e3ffe53faea02b8998e9b755ccc (diff)
downloadnixlib-567e02e20450b3863545a57199c2bea42fe42829.tar
nixlib-567e02e20450b3863545a57199c2bea42fe42829.tar.gz
nixlib-567e02e20450b3863545a57199c2bea42fe42829.tar.bz2
nixlib-567e02e20450b3863545a57199c2bea42fe42829.tar.lz
nixlib-567e02e20450b3863545a57199c2bea42fe42829.tar.xz
nixlib-567e02e20450b3863545a57199c2bea42fe42829.tar.zst
nixlib-567e02e20450b3863545a57199c2bea42fe42829.zip
ocamlPackages.alcotest: 1.0.1 → 1.2.3
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/alcotest/default.nix14
-rw-r--r--pkgs/development/ocaml-modules/alcotest/lwt.nix2
2 files changed, 10 insertions, 6 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";
diff --git a/pkgs/development/ocaml-modules/alcotest/lwt.nix b/pkgs/development/ocaml-modules/alcotest/lwt.nix
index f005421a6fc8..82efbe91a069 100644
--- a/pkgs/development/ocaml-modules/alcotest/lwt.nix
+++ b/pkgs/development/ocaml-modules/alcotest/lwt.nix
@@ -3,7 +3,7 @@
 buildDunePackage {
   pname = "alcotest-lwt";
 
-  inherit (alcotest) version src;
+  inherit (alcotest) version src useDune2;
 
   propagatedBuildInputs = [ alcotest logs ocaml_lwt ];