Commit b94953db authored by Jules Aguillon's avatar Jules Aguillon
Browse files

odig: Init at 0.0.9

Odig is a tool for building the documentation of OCaml libraries. It is
described with the recent `buildTopkgPackage` function.
parent 187d777a
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, buildTopkgPackage, cmdliner, odoc, b0 }:

buildTopkgPackage rec {
  pname = "odig";
  version = "0.0.9";

  src = fetchurl {
    url = "${meta.homepage}/releases/odig-${version}.tbz";
    sha256 = "sha256-sYKvGYkxeF5FmrNQdOyMAtlsJqhlmUESi9SkPn/cjM4=";
  };

  buildInputs = [ cmdliner odoc b0 ];

  meta = with lib; {
    description = "Lookup documentation of installed OCaml packages";
    longDescription = ''
      odig is a command line tool to lookup documentation of installed OCaml
      packages. It shows package metadata, readmes, change logs, licenses,
      cross-referenced `odoc` API documentation and manuals.
    '';
    homepage = "https://erratique.ch/software/odig";
    license = licenses.isc;
    maintainers = [ maintainers.Julow ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -16863,6 +16863,8 @@ with pkgs;
    ocamlformat_0_22_4 ocamlformat_0_23_0 ocamlformat_0_24_1 ocamlformat_0_25_1
    ocamlformat_0_26_0;
  inherit (ocamlPackages) odig;
  orc = callPackage ../development/compilers/orc { };
  orocos-kdl = callPackage ../development/libraries/orocos-kdl { };
+2 −0
Original line number Diff line number Diff line
@@ -1332,6 +1332,8 @@ let

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

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

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

    odoc-parser = callPackage ../development/ocaml-modules/odoc-parser { };