nixpkgs/pkgs/development/ocaml-modules/alcotest/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
765 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchurl
2022-04-21 12:17:34 +00:00
, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf, ocaml-syntax-shims
2017-10-31 01:06:17 +00:00
}:
buildDunePackage rec {
pname = "alcotest";
2022-04-21 12:17:34 +00:00
version = "1.5.0";
useDune2 = true;
src = fetchurl {
2022-04-21 12:17:34 +00:00
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-js-${version}.tbz";
sha256 = "sha256-VCgZB+AteJld8kbcLhDtGCgoKUrSBZNHoeOhM1SEj2w=";
};
2022-04-21 12:17:34 +00:00
nativeBuildInputs = [ ocaml-syntax-shims ];
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/alcotest";
description = "A lightweight and colourful test framework";
license = licenses.isc;
maintainers = [ maintainers.ericbmerritt ];
};
}