depot/third_party/nixpkgs/pkgs/development/ocaml-modules/thread-table/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
807 B
Nix

{ lib
, fetchurl
, buildDunePackage
, alcotest
, mdx
}:
buildDunePackage rec {
pname = "thread-table";
version = "1.0.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "pIzYhGNZfflELEuqaczAYJHKd7px5DjTYJ+64PO4Hd0=";
};
doCheck = true;
checkInputs = [
alcotest
mdx
];
nativeCheckInputs = [
mdx.bin
];
meta = {
homepage = "https://github.com/ocaml-multicore/ocaml-${pname}";
changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/${version}/CHANGES.md";
description = "Lock-free thread-safe integer keyed hash table";
license = with lib.licenses; [ isc ];
maintainers = with lib.maintainers; [ toastal ];
};
}