3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.lockfree: init at 0.3.0

This commit is contained in:
Vincent Laporte 2022-12-26 00:12:19 +01:00 committed by Vincent Laporte
parent 3d8917729d
commit f0dfae91ff
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, fetchurl, buildDunePackage
, dscheck
, qcheck, qcheck-alcotest
}:
buildDunePackage rec {
pname = "lockfree";
version = "0.3.0";
minimalOCamlVersion = "5.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocaml-multicore/lockfree/releases/download/${version}/lockfree-${version}.tbz";
hash = "sha256-XdJR5ojFsA7bJ4aZ5rh10NjopE0NjfqQ9KitOLMh3Jo=";
};
propagatedBuildInputs = [ dscheck ];
doCheck = true;
checkInputs = [ qcheck qcheck-alcotest ];
meta = {
description = "Lock-free data structures for multicore OCaml";
homepage = "https://github.com/ocaml-multicore/lockfree";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -739,6 +739,8 @@ let
lo = callPackage ../development/ocaml-modules/lo { };
lockfree = callPackage ../development/ocaml-modules/lockfree { };
logs = callPackage ../development/ocaml-modules/logs { };
lru = callPackage ../development/ocaml-modules/lru { };