mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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.
This commit is contained in:
parent
187d777aad
commit
b94953dbd4
25
pkgs/development/ocaml-modules/odig/default.nix
Normal file
25
pkgs/development/ocaml-modules/odig/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user