Files
nixpkgs/pkgs/development/ocaml-modules/windtrap/default.nix
2026-06-23 13:35:24 +02:00

32 lines
741 B
Nix

{
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 ];
};
}