diff options
author | toastal <toastal@posteo.net> | 2023-06-21 17:29:26 +0700 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-06-23 08:41:52 +0200 |
commit | 826f484b8de1f2d8dff4b7156a09d675e9e4b8d1 (patch) | |
tree | da1ee614108271b6c86377c35b8d220918e4cc69 /pkgs/development/ocaml-modules | |
parent | fe42ef5c14e9d9f6ce1533db65ecae004f1bced3 (diff) | |
download | nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.tar nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.tar.gz nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.tar.bz2 nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.tar.lz nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.tar.xz nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.tar.zst nixlib-826f484b8de1f2d8dff4b7156a09d675e9e4b8d1.zip |
ocamlPackages.thread-table: init at 0.1.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/thread-table/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/thread-table/default.nix b/pkgs/development/ocaml-modules/thread-table/default.nix new file mode 100644 index 000000000000..497572c4f413 --- /dev/null +++ b/pkgs/development/ocaml-modules/thread-table/default.nix @@ -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 ]; + }; +} |