depot/third_party/nixpkgs/pkgs/development/ocaml-modules/octavius/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

26 lines
645 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
buildDunePackage (rec {
pname = "octavius";
version = "1.2.2";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = "octavius";
rev = "v${version}";
sha256 = "sha256-/S6WpIo1c5J9uM3xgtAM/elhnsl0XimnIFsKy3ootbA=";
};
minimalOCamlVersion = "4.03";
doCheck = true;
meta = with lib; {
description = "Ocamldoc comment syntax parser";
homepage = "https://github.com/ocaml-doc/octavius";
license = licenses.isc;
maintainers = with maintainers; [ vbgl ];
};
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
duneVersion = "1";
})