about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2024-03-21 07:38:00 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2024-03-28 11:13:00 +0100
commitb4c92ba59d38a500593543d96dbb3031cc00142e (patch)
treeb80140e3a8b31f49dfaaed78b024ad4fb142ac92
parent472c35cbac5a16a080ca24d7d111c2550c5ad84c (diff)
ocamlPackages.stog_asy: init at 1.0.0
-rw-r--r--pkgs/applications/misc/stog/asy.nix14
-rw-r--r--pkgs/top-level/ocaml-packages.nix1
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/misc/stog/asy.nix b/pkgs/applications/misc/stog/asy.nix
new file mode 100644
index 0000000000000..58f1cf35f4d47
--- /dev/null
+++ b/pkgs/applications/misc/stog/asy.nix
@@ -0,0 +1,14 @@
+{ buildDunePackage, stog, ocf_ppx }:
+
+buildDunePackage {
+  pname = "stog_asy";
+
+  inherit (stog) version src;
+
+  buildInputs = [ ocf_ppx ];
+  propagatedBuildInputs = [ stog ];
+
+  meta = stog.meta // {
+    description = "Stog plugin to include Asymptote results in documents";
+  };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index d74746e08c598..f972d257c05df 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -1724,6 +1724,7 @@ let
     stdune = callPackage ../development/ocaml-modules/stdune { };
 
     stog = callPackage ../applications/misc/stog { };
+    stog_asy = callPackage ../applications/misc/stog/asy.nix { };
 
     stringext = callPackage ../development/ocaml-modules/stringext { };