nixpkgs/pkgs/development/ocaml-modules/doc-ock/default.nix

25 lines
568 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildDunePackage, octavius, cppo }:
2018-09-16 05:24:06 +01:00
buildDunePackage rec {
pname = "doc-ock";
2018-09-16 05:24:06 +01:00
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = pname;
2018-09-16 05:24:06 +01:00
rev = "v${version}";
sha256 = "090vprm12jrl55yllk1hdzbsqyr107yjs2qnc49yahdhvnr4h5b7";
};
buildInputs = [ cppo ];
2018-09-16 05:24:06 +01:00
propagatedBuildInputs = [ octavius ];
meta = {
description = "Extract documentation from OCaml files";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}