nixpkgs-suyu/pkgs/development/ocaml-modules/odoc/default.nix
Vincent Laporte 31aab48a0a
ocamlPackages.odoc: 1.3.0 → 1.4.2
Ensures compatibility with OCaml 4.08
2019-09-23 05:53:29 +00:00

24 lines
562 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, astring, cmdliner, cppo, fpath, result, tyxml
}:
buildDunePackage rec {
pname = "odoc";
version = "1.4.2";
src = fetchFromGitHub {
owner = "ocaml";
repo = pname;
rev = version;
sha256 = "0rvhx139jx6wmlfz355mja6mk03x4swq1xxvk5ky6jzhalq3cf5i";
};
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;
};
}