Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
26 lines
725 B
Nix
26 lines
725 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "alcotest";
|
|
version = "1.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
|
|
hash = "sha256-y6G9AXB8jFW0dkuw34yccyvjIeHxwalqQG5W2NvKHQ4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ ocaml-syntax-shims ];
|
|
|
|
propagatedBuildInputs = [ astring cmdliner fmt re stdlib-shims uutf ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirage/alcotest";
|
|
description = "Lightweight and colourful test framework";
|
|
license = licenses.isc;
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
};
|
|
}
|