summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-12-31 11:42:27 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2023-01-07 13:51:10 +0100
commit54d363b012e32c0918b2af05fb7673ff08c7e781 (patch)
tree7d4cedb6817f3d22ffb7e952e4979b5b07d70040 /pkgs/development/tools/ocaml
parentd1934479baf0f74db3f2126d11fd8183862c116c (diff)
downloadnixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.tar
nixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.tar.gz
nixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.tar.bz2
nixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.tar.lz
nixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.tar.xz
nixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.tar.zst
nixpkgs-54d363b012e32c0918b2af05fb7673ff08c7e781.zip
ocamlPackages.js_of_ocaml-toplevel: init at 4.1.0
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/js_of_ocaml/toplevel.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/toplevel.nix b/pkgs/development/tools/ocaml/js_of_ocaml/toplevel.nix
new file mode 100644
index 00000000000..d7d1f6fbcfe
--- /dev/null
+++ b/pkgs/development/tools/ocaml/js_of_ocaml/toplevel.nix
@@ -0,0 +1,12 @@
+{ lib, buildDunePackage, js_of_ocaml-compiler, ppxlib }:
+
+buildDunePackage {
+  duneVersion = "3";
+  pname = "js_of_ocaml-toplevel";
+  inherit (js_of_ocaml-compiler) src version;
+  buildInputs = [ ppxlib ];
+  propagatedBuildInputs = [ js_of_ocaml-compiler ];
+  meta = js_of_ocaml-compiler.meta // {
+    mainProgram = "jsoo_mktop";
+  };
+}