From 463a41b8684b3e38a3684f25a3acd58345eb3fc3 Mon Sep 17 00:00:00 2001 From: Sylvain Fankhauser Date: Sat, 22 May 2021 09:30:29 +0200 Subject: comby: init at 1.5.1 --- .../ocaml-modules/hack_parallel/default.nix | 26 ++++++++++++++++++++++ pkgs/development/ocaml-modules/mparser/pcre.nix | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/ocaml-modules/hack_parallel/default.nix (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/hack_parallel/default.nix b/pkgs/development/ocaml-modules/hack_parallel/default.nix new file mode 100644 index 000000000000..f9bc67772125 --- /dev/null +++ b/pkgs/development/ocaml-modules/hack_parallel/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchFromGitHub, buildDunePackage, core, core_kernel, pkg-config, sqlite +}: +buildDunePackage rec { + pname = "hack_parallel"; + version = "1.0.1"; + useDune2 = true; + minimumOcamlVersion = "4.04.1"; + + src = fetchFromGitHub { + owner = "rvantonder"; + repo = "hack_parallel"; + rev = version; + sha256 = "0qjlkw35r4q2cm0n2x0i73zvx1xgrp6axaia2nm8zxpm49mid629"; + }; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ core core_kernel sqlite ]; + + meta = { + description = + "Core parallel and shared memory library used by Hack, Flow, and Pyre"; + license = lib.licenses.mit; + homepage = "https://github.com/rvantonder/hack_parallel"; + }; +} diff --git a/pkgs/development/ocaml-modules/mparser/pcre.nix b/pkgs/development/ocaml-modules/mparser/pcre.nix index f2bdc41b8e29..0f26e140ed87 100644 --- a/pkgs/development/ocaml-modules/mparser/pcre.nix +++ b/pkgs/development/ocaml-modules/mparser/pcre.nix @@ -6,7 +6,7 @@ buildDunePackage rec { inherit (mparser) src version; - buildInputs = [ ocaml_pcre mparser ]; + propagatedBuildInputs = [ ocaml_pcre mparser ]; meta = mparser.meta // { description = "PCRE-based regular expressions"; }; } -- cgit 1.4.1