From b4c92ba59d38a500593543d96dbb3031cc00142e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 21 Mar 2024 07:38:00 +0100 Subject: [PATCH] ocamlPackages.stog_asy: init at 1.0.0 --- pkgs/applications/misc/stog/asy.nix | 14 ++++++++++++++ pkgs/top-level/ocaml-packages.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 pkgs/applications/misc/stog/asy.nix diff --git a/pkgs/applications/misc/stog/asy.nix b/pkgs/applications/misc/stog/asy.nix new file mode 100644 index 000000000000..58f1cf35f4d4 --- /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 d74746e08c59..f972d257c05d 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 { };