nixpkgs/pkgs/development/ocaml-modules/dscheck/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
654 B
Nix
Raw Normal View History

2022-12-26 00:12:15 +01:00
{ lib, fetchurl, buildDunePackage
, containers
, oseq
2023-08-17 08:25:28 +02:00
, alcotest
2022-12-26 00:12:15 +01:00
}:
buildDunePackage rec {
pname = "dscheck";
2023-08-17 08:25:28 +02:00
version = "0.2.0";
2022-12-26 00:12:15 +01:00
minimalOCamlVersion = "5.0";
src = fetchurl {
url = "https://github.com/ocaml-multicore/dscheck/releases/download/${version}/dscheck-${version}.tbz";
2023-08-17 08:25:28 +02:00
hash = "sha256-QgkbnD3B1lONg9U60BM2xWVgIt6pZNmOmxkKy+UJH9E=";
2022-12-26 00:12:15 +01:00
};
propagatedBuildInputs = [ containers oseq ];
doCheck = true;
2023-08-17 08:25:28 +02:00
checkInputs = [ alcotest ];
2022-12-26 00:12:15 +01:00
meta = {
description = "Traced atomics";
homepage = "https://github.com/ocaml-multicore/dscheck";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}