From d0b92d9cfc71efcace57b5cbd2c030f8ad71c8e0 Mon Sep 17 00:00:00 2001 From: Niols Date: Mon, 17 Apr 2023 16:10:00 +0100 Subject: [PATCH] ocamlPackages.cohttp-top: init at 5.1.0 --- pkgs/development/ocaml-modules/cohttp/top.nix | 16 ++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/ocaml-modules/cohttp/top.nix diff --git a/pkgs/development/ocaml-modules/cohttp/top.nix b/pkgs/development/ocaml-modules/cohttp/top.nix new file mode 100644 index 00000000000..0a8f54871b1 --- /dev/null +++ b/pkgs/development/ocaml-modules/cohttp/top.nix @@ -0,0 +1,16 @@ +{ lib, buildDunePackage, cohttp }: + +buildDunePackage { + pname = "cohttp-top"; + inherit (cohttp) version src; + + duneVersion = "3"; + + propagatedBuildInputs = [ cohttp ]; + + doCheck = true; + + meta = cohttp.meta // { + description = "CoHTTP toplevel pretty printers for HTTP types"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index d91cee4fd55..b03e77d2001 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -215,6 +215,8 @@ let cohttp-mirage = callPackage ../development/ocaml-modules/cohttp/mirage.nix { }; + cohttp-top = callPackage ../development/ocaml-modules/cohttp/top.nix { }; + coin = callPackage ../development/ocaml-modules/coin { }; color = callPackage ../development/ocaml-modules/color { };