summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorSylvain Fankhauser <sephi@fhtagn.top>2021-05-22 09:30:29 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2021-07-23 10:32:12 +0200
commit463a41b8684b3e38a3684f25a3acd58345eb3fc3 (patch)
treeb5361afbd9a22ea6802f6bf0e9636c968b09c93b /pkgs/development/ocaml-modules
parenta38751eb697dd65211dfa0f6cb0d5ed81c09c38d (diff)
downloadnixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.tar
nixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.tar.gz
nixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.tar.bz2
nixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.tar.lz
nixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.tar.xz
nixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.tar.zst
nixpkgs-463a41b8684b3e38a3684f25a3acd58345eb3fc3.zip
comby: init at 1.5.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/hack_parallel/default.nix26
-rw-r--r--pkgs/development/ocaml-modules/mparser/pcre.nix2
2 files changed, 27 insertions, 1 deletions
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 00000000000..f9bc6777212
--- /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 f2bdc41b8e2..0f26e140ed8 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"; };
 }