1{ lib, fetchFromGitHub, buildDunePackage, core, core_kernel, pkg-config, sqlite
2}:
3buildDunePackage rec {
4 pname = "hack_parallel";
5 version = "1.0.1";
6 useDune2 = true;
7 minimumOcamlVersion = "4.04.1";
8
9 src = fetchFromGitHub {
10 owner = "rvantonder";
11 repo = "hack_parallel";
12 rev = version;
13 sha256 = "0qjlkw35r4q2cm0n2x0i73zvx1xgrp6axaia2nm8zxpm49mid629";
14 };
15
16 nativeBuildInputs = [ pkg-config ];
17
18 buildInputs = [ core core_kernel sqlite ];
19
20 meta = {
21 description =
22 "Core parallel and shared memory library used by Hack, Flow, and Pyre";
23 license = lib.licenses.mit;
24 homepage = "https://github.com/rvantonder/hack_parallel";
25 };
26}