From 5a90feb76ab68001cd588e587ee019d4e4656101 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 23 Apr 2022 10:50:35 +0200 Subject: [PATCH] ocamlPackages.atdgen-runtime: init at 2.4.1 --- pkgs/development/ocaml-modules/atdgen/runtime.nix | 15 +++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/ocaml-modules/atdgen/runtime.nix diff --git a/pkgs/development/ocaml-modules/atdgen/runtime.nix b/pkgs/development/ocaml-modules/atdgen/runtime.nix new file mode 100644 index 000000000000..0fc98a1f66be --- /dev/null +++ b/pkgs/development/ocaml-modules/atdgen/runtime.nix @@ -0,0 +1,15 @@ +{ buildDunePackage, atdgen-codec-runtime, biniou, camlp-streams, yojson }: + +buildDunePackage rec { + pname = "atdgen-runtime"; + inherit (atdgen-codec-runtime) version src; + + minimalOCamlVersion = "4.08"; + + propagatedBuildInputs = [ biniou camlp-streams yojson ]; + + meta = atdgen-codec-runtime.meta // { + description = "Runtime library for code generated by atdgen"; + }; + +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 167a99b3c2ba..3619a844c723 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -48,6 +48,8 @@ let atdgen-codec-runtime = callPackage ../development/ocaml-modules/atdgen/codec-runtime.nix { }; + atdgen-runtime = callPackage ../development/ocaml-modules/atdgen/runtime.nix { }; + awa = callPackage ../development/ocaml-modules/awa { }; awa-lwt = callPackage ../development/ocaml-modules/awa/lwt.nix { };