at 23.05-pre 26 lines 729 B view raw
1{ lib, buildDunePackage, fetchurl 2, astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims 3}: 4 5buildDunePackage rec { 6 pname = "alcotest"; 7 version = "1.6.0"; 8 9 src = fetchurl { 10 url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz"; 11 sha256 = "sha256-/QD5ZoOVh0/zsdfvVm0U78Avp900Ej6yXVk1W+lLIyk="; 12 }; 13 14 nativeBuildInputs = [ ocaml-syntax-shims ]; 15 16 propagatedBuildInputs = [ astring cmdliner fmt re stdlib-shims uutf ]; 17 18 doCheck = true; 19 20 meta = with lib; { 21 homepage = "https://github.com/mirage/alcotest"; 22 description = "A lightweight and colourful test framework"; 23 license = licenses.isc; 24 maintainers = [ maintainers.ericbmerritt ]; 25 }; 26}