Unverified Commit de1b2782 authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.arg-complete: init at 0.2.1

parent 451b0d33
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  lib,
  fetchurl,
  ocaml,
  buildDunePackage,
  cppo,
  ounit2,
}:

buildDunePackage rec {
  pname = "arg-complete";
  version = "0.2.1";

  src = fetchurl {
    url = "https://github.com/sim642/ocaml-arg-complete/releases/download/${version}/arg-complete-${version}.tbz";
    hash = "sha256-SZvLaeeqY3j2LUvqxGs0Vw57JnnpdvAk1jnE3pk27QU=";
  };

  nativeBuildInputs = [ cppo ];

  doCheck = lib.versionAtLeast ocaml.version "4.08";
  checkInputs = [ ounit2 ];

  meta = {
    description = "Bash completion support for OCaml Stdlib.Arg";
    homepage = "https://sim642.github.io/ocaml-arg-complete/";
    changelog = "https://raw.githubusercontent.com/sim642/ocaml-arg-complete/refs/tags/${version}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.vbgl ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ let

    apron = callPackage ../development/ocaml-modules/apron { };

    arg-complete = callPackage ../development/ocaml-modules/arg-complete { };

    arp = callPackage ../development/ocaml-modules/arp { };

    asai = callPackage ../development/ocaml-modules/asai { };