nixpkgs/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-15 21:43:10 -07:00
buildDunePackage rec {
pname = "odoc";
2020-02-12 19:06:12 -08:00
version = "1.5.0";
2018-09-15 21:43:10 -07:00
src = fetchFromGitHub {
owner = "ocaml";
repo = pname;
2018-11-03 23:24:52 -07:00
rev = version;
2020-02-12 19:06:12 -08:00
sha256 = "14ilq2glcvda8mfhj27jqqwx3392q8ssp9bq9agz7k1k6ilp9dai";
2018-09-15 21:43:10 -07:00
};
buildInputs = [ astring cmdliner cppo fpath result tyxml ];
2018-09-15 21:43:10 -07:00
meta = {
description = "A documentation generator for OCaml";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
2018-09-15 21:43:10 -07:00
inherit (src.meta) homepage;
};
}