mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
38 lines
807 B
Nix
38 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 ];
|
|
};
|
|
}
|