about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/odig/default.nix
blob: 5ea3730c7ff4cadd58dca0c1d3d6589b8ef19932 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];
  };
}