lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 26 lines 790 B view raw
1# Version can be selected with the 'version' argument, see generic.nix. 2{ lib, fetchurl, buildDunePackage, ocaml, csexp, sexplib0, callPackage, ... }@args: 3 4let 5 # for compat with ocaml-lsp 6 version_arg = 7 if lib.versionAtLeast ocaml.version "4.13" then {} else { version = "0.20.0"; }; 8 9 inherit (callPackage ./generic.nix (args // version_arg)) src version; 10 11in buildDunePackage rec { 12 pname = "ocamlformat-rpc-lib"; 13 inherit src version; 14 15 minimalOCamlVersion = "4.08"; 16 duneVersion = "3"; 17 18 propagatedBuildInputs = [ csexp sexplib0 ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/ocaml-ppx/ocamlformat"; 22 description = "Auto-formatter for OCaml code (RPC mode)"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ Zimmi48 marsam Julow ]; 25 }; 26}