ocamlPackages.odoc-parser: init at 0.9.0

launchpad/nixpkgs/master
Mario Rodas 3 years ago committed by Vincent Laporte
parent dbede76709
commit f7eb8b8c50
  1. 25
      pkgs/development/ocaml-modules/odoc-parser/default.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

@ -0,0 +1,25 @@
{ lib, fetchurl, buildDunePackage, astring, result }:
buildDunePackage rec {
pname = "odoc-parser";
version = "0.9.0";
minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/ocaml-doc/odoc-parser/releases/download/0.9.0/odoc-parser-0.9.0.tbz";
sha256 = "0ydxy2sj2w9i4vvyjnxplgmp5gbkp5ilnv36pvk4vgrrmldss3fz";
};
useDune2 = true;
buildInputs = [ astring result ];
meta = {
description = "Parser for Ocaml documentation comments";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.marsam ];
homepage = "https://github.com/ocaml-doc/odoc-parser";
changelog = "https://github.com/ocaml-doc/odoc-parser/raw/${version}/CHANGES.md";
};
}

@ -934,6 +934,8 @@ let
odoc = callPackage ../development/ocaml-modules/odoc { };
odoc-parser = callPackage ../development/ocaml-modules/odoc-parser { };
omd = callPackage ../development/ocaml-modules/omd { };
opam-core = callPackage ../development/ocaml-modules/opam-core {

Loading…
Cancel
Save