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

23 lines
542 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildDunePackage, cppo, bos, cmdliner, tyxml }:
2018-09-16 06:43:10 +02:00
buildDunePackage rec {
pname = "odoc";
2018-11-04 07:24:52 +01:00
version = "1.3.0";
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 = "0hjan5aj5zk8j8qyagv9r4hqm469mh207cv2m6kxwgnw0c3cz7sy";
2018-09-16 06:43:10 +02:00
};
buildInputs = [ cppo bos cmdliner tyxml ];
2018-09-16 06:43:10 +02:00
meta = {
description = "A documentation generator for OCaml";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}