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 { };