nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 backoff,
6 multicore-magic,
7}:
8
9buildDunePackage rec {
10 pname = "saturn_lockfree";
11 version = "0.5.0";
12
13 minimalOCamlVersion = "4.13";
14
15 src = fetchurl {
16 url = "https://github.com/ocaml-multicore/saturn/releases/download/${version}/saturn-${version}.tbz";
17 hash = "sha256-ZmmxwIe5PiPYTTdvOHbOjRbv2b/bb9y0IekByfREPjk=";
18 };
19
20 propagatedBuildInputs = [
21 backoff
22 multicore-magic
23 ];
24
25 meta = {
26 description = "Lock-free data structures for multicore OCaml";
27 homepage = "https://github.com/ocaml-multicore/lockfree";
28 license = lib.licenses.isc;
29 maintainers = [ lib.maintainers.vbgl ];
30 };
31}