summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/odoc/default.nix
blob: 3e8ac82add4c72f96a04d7153a2016b08ae6c785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchFromGitHub, buildDunePackage
, astring, cmdliner, cppo, fpath, result, tyxml
}:

buildDunePackage rec {
  pname = "odoc";
  version = "1.5.0";

  src = fetchFromGitHub {
    owner = "ocaml";
    repo = pname;
    rev = version;
    sha256 = "14ilq2glcvda8mfhj27jqqwx3392q8ssp9bq9agz7k1k6ilp9dai";
  };

  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;
  };
}