ocamlPackages.windtrap: init at 0.1.0 (#533330)

This commit is contained in:
Vincent Laporte
2026-06-23 11:50:44 +00:00
committed by GitHub
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,31 @@
{
lib,
fetchurl,
buildDunePackage,
}:
buildDunePackage {
pname = "windtrap";
version = "0.1.0";
minimalOCamlVersion = "5.0";
src = fetchurl {
url = "https://github.com/invariant-hq/windtrap/releases/download/0.1.0/windtrap-0.1.0.tbz";
hash = "sha256-IkGylLJO1dVuqLg00pbm+rxdvdkkqJ9RwUsA2mbFCiU=";
};
doCheck = true;
# this force to skip "collapse_home" tests, because $HOME != getpwuid in the
# sandbox
preCheck = ''
unset HOME
'';
meta = {
description = "Unit tests, property-based tests, snapshot tests, and expect tests in a single package with one API.";
homepage = "https://ocaml.org/p/windtrap";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.joblade ];
};
}
+2
View File
@@ -2261,6 +2261,8 @@ let
webmachine = callPackage ../development/ocaml-modules/webmachine { };
windtrap = callPackage ../development/ocaml-modules/windtrap { };
wtf8 = callPackage ../development/ocaml-modules/wtf8 { };
### X ###