mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
25 lines
562 B
Nix
25 lines
562 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, astring, cmdliner, cppo, fpath, result, tyxml
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "odoc";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0z2nisg1vb5xlk41hqw8drvj90v52wli7zvnih6a844cg6xsvvj2";
|
|
};
|
|
|
|
buildInputs = [ astring cmdliner cppo fpath result tyxml ];
|
|
|
|
meta = {
|
|
description = "A documentation generator for OCaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|