depot/third_party/nixpkgs/pkgs/development/ocaml-modules/saturn/lockfree.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

24 lines
648 B
Nix

{ lib, fetchurl, buildDunePackage
, backoff, multicore-magic
}:
buildDunePackage rec {
pname = "saturn_lockfree";
version = "0.5.0";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/ocaml-multicore/saturn/releases/download/${version}/saturn-${version}.tbz";
hash = "sha256-ZmmxwIe5PiPYTTdvOHbOjRbv2b/bb9y0IekByfREPjk=";
};
propagatedBuildInputs = [ backoff multicore-magic ];
meta = {
description = "Lock-free data structures for multicore OCaml";
homepage = "https://github.com/ocaml-multicore/lockfree";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}