1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/development/tools/ocaml/ocp-index/default.nix
2020-04-10 17:54:53 +01:00

23 lines
671 B
Nix

{ lib, fetchurl, buildDunePackage, ocp-build, ocp-indent, cmdliner, re }:
buildDunePackage rec {
pname = "ocp-index";
version = "1.2";
src = fetchurl {
url = "https://github.com/OCamlPro/ocp-index/releases/download/${version}/ocp-index-${version}.tbz";
sha256 = "1lchw02sakjjppmzr0rzlarwbg1lc2bl7pwcfpsiycnaz46x6gmr";
};
buildInputs = [ ocp-build cmdliner re ];
propagatedBuildInputs = [ ocp-indent ];
meta = {
homepage = "http://typerex.ocamlpro.com/ocp-index.html";
description = "A simple and light-weight documentation extractor for OCaml";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ vbgl ];
};
}