depot/pkgs/development/ocaml-modules/odig/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
780 B
Nix

{ lib, 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 ];
};
}