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

27 lines
703 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchurl
, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf
2017-10-31 01:06:17 +00:00
}:
buildDunePackage rec {
pname = "alcotest";
version = "1.2.3";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
sha256 = "1bmjcivbmd4vib15v4chycgd1gl8js9dk94vzxkdg06zxqd4hp08";
};
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 ];
};
}