nixpkgs/pkgs/development/ocaml-modules/dscheck/default.nix
2024-02-23 13:11:02 +00:00

29 lines
654 B
Nix

{ lib, fetchurl, buildDunePackage
, containers
, oseq
, alcotest
}:
buildDunePackage rec {
pname = "dscheck";
version = "0.4.0";
minimalOCamlVersion = "5.0";
src = fetchurl {
url = "https://github.com/ocaml-multicore/dscheck/releases/download/${version}/dscheck-${version}.tbz";
hash = "sha256-WWqa2O1y7krpIcxG7KLprn9SIQoWGSD3lgpXLZ9P9kA=";
};
propagatedBuildInputs = [ containers oseq ];
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "Traced atomics";
homepage = "https://github.com/ocaml-multicore/dscheck";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}