nixpkgs-suyu/pkgs/development/ocaml-modules/odoc/default.nix

25 lines
562 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage
, astring, cmdliner, cppo, fpath, result, tyxml
}:
2018-09-16 06:43:10 +02:00
buildDunePackage rec {
pname = "odoc";
version = "1.4.2";
2018-09-16 06:43:10 +02:00
src = fetchFromGitHub {
owner = "ocaml";
repo = pname;
2018-11-04 07:24:52 +01:00
rev = version;
sha256 = "0rvhx139jx6wmlfz355mja6mk03x4swq1xxvk5ky6jzhalq3cf5i";
2018-09-16 06:43:10 +02:00
};
buildInputs = [ astring cmdliner cppo fpath result tyxml ];
2018-09-16 06:43:10 +02:00
meta = {
description = "A documentation generator for OCaml";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
2018-09-16 06:43:10 +02:00
inherit (src.meta) homepage;
};
}