ocamlPackages.thread-table: init at 0.1.0
This commit is contained in:
parent
fe42ef5c14
commit
826f484b8d
37
pkgs/development/ocaml-modules/thread-table/default.nix
Normal file
37
pkgs/development/ocaml-modules/thread-table/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, alcotest
|
||||
, mdx
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "thread-table";
|
||||
version = "0.1.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
||||
sha256 = "d84BwC9W5udWJgYuaQwmA1e2d6uk0v210M7nK72VjXs=";
|
||||
};
|
||||
|
||||
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 = "A lock-free thread-safe integer keyed hash table";
|
||||
license = with lib.licenses; [ isc ];
|
||||
maintainers = with lib.maintainers; [ toastal ];
|
||||
};
|
||||
}
|
@ -1603,6 +1603,8 @@ let
|
||||
|
||||
theora = callPackage ../development/ocaml-modules/theora { };
|
||||
|
||||
thread-table = callPackage ../development/ocaml-modules/thread-table { };
|
||||
|
||||
timed = callPackage ../development/ocaml-modules/timed { };
|
||||
|
||||
tiny_httpd = callPackage ../development/ocaml-modules/tiny_httpd { };
|
||||
|
Loading…
Reference in New Issue
Block a user