2023-01-11 07:51:40 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, containers
|
|
|
|
, oseq
|
2023-08-22 20:05:09 +00:00
|
|
|
, alcotest
|
2023-01-11 07:51:40 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "dscheck";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.4.0";
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "5.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-multicore/dscheck/releases/download/${version}/dscheck-${version}.tbz";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-WWqa2O1y7krpIcxG7KLprn9SIQoWGSD3lgpXLZ9P9kA=";
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ containers oseq ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-08-22 20:05:09 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Traced atomics";
|
|
|
|
homepage = "https://github.com/ocaml-multicore/dscheck";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|