about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lockfree/default.nix
blob: c3400d4583e041ffdec7a872d89825295f87a9f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];
  };
}