3
0
Fork 0
forked from mirrors/nixpkgs

ocamlformat-rpc-lib: init at 0.19.0

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
Rudi Grinberg 2021-09-29 09:43:48 -06:00 committed by Vincent Laporte
parent ca2ece2bd4
commit 073cc84c9b
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, fetchurl, buildDunePackage, csexp, sexplib0 }:
buildDunePackage rec {
pname = "ocamlformat-rpc-lib";
version = "0.19.0";
src = fetchurl {
url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/ocamlformat-${version}.tbz";
sha256 = "sha256-YvxGqujwpKM85/jXcm1xCb/2Fepvy1DRSC8h0g7lD0Y=";
};
minimumOCamlVersion = "4.08";
useDune2 = true;
propagatedBuildInputs = [ csexp sexplib0 ];
meta = with lib; {
homepage = "https://github.com/ocaml-ppx/ocamlformat";
description = "Auto-formatter for OCaml code (RPC mode)";
license = licenses.mit;
maintainers = with maintainers; [ Zimmi48 marsam ];
};
}

View file

@ -847,6 +847,8 @@ let
frontc = callPackage ../development/ocaml-modules/frontc { };
ocamlformat-rpc-lib = callPackage ../development/ocaml-modules/ocamlformat-rpc-lib { };
ocamlfuse = callPackage ../development/ocaml-modules/ocamlfuse { };
ocaml-freestanding = callPackage ../development/ocaml-modules/ocaml-freestanding { };