2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, octavius, cppo }:
|
2018-09-16 05:24:06 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "doc-ock";
|
2018-09-16 05:24:06 +01:00
|
|
|
version = "1.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-doc";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-09-16 05:24:06 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "090vprm12jrl55yllk1hdzbsqyr107yjs2qnc49yahdhvnr4h5b7";
|
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|