depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dscheck/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

29 lines
654 B
Nix

{ lib, fetchurl, buildDunePackage
, containers
, oseq
, alcotest
}:
buildDunePackage rec {
pname = "dscheck";
version = "0.2.0";
minimalOCamlVersion = "5.0";
src = fetchurl {
url = "https://github.com/ocaml-multicore/dscheck/releases/download/${version}/dscheck-${version}.tbz";
hash = "sha256-QgkbnD3B1lONg9U60BM2xWVgIt6pZNmOmxkKy+UJH9E=";
};
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 ];
};
}