Skip to content

Commit

Permalink
ocamlPackages.alcotest: 1.0.1 → 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Dec 6, 2020
1 parent 464912e commit 9a397dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions pkgs/development/ocaml-modules/alcotest/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/alcotest/lwt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildDunePackage {
pname = "alcotest-lwt";

inherit (alcotest) version src;
inherit (alcotest) version src useDune2;

propagatedBuildInputs = [ alcotest logs ocaml_lwt ];

Expand Down

0 comments on commit 9a397dd

Please sign in to comment.