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