mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ocamlPackages.octavius: init at 0.2.0
Octavius is a library to parse the ocamldoc comment syntax.
This commit is contained in:
parent
7b211da119
commit
0a4da64cad
26
pkgs/development/ocaml-modules/octavius/default.nix
Normal file
26
pkgs/development/ocaml-modules/octavius/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, opam }:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "octavius is not available for OCaml ${ocaml.version}" else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-octavius-0.2.0";
|
||||
src = fetchurl {
|
||||
url = http://github.com/ocaml-doc/octavius/releases/download/v0.2.0/octavius-0.2.0.tbz;
|
||||
sha256 = "02milzzlr4xk5aymg2fjz27f528d5pyscqvld3q0dm41zcpkz5ml";
|
||||
};
|
||||
|
||||
unpackCmd = "tar xjf $src";
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild topkg opam ];
|
||||
|
||||
inherit (topkg) buildPhase installPhase;
|
||||
|
||||
meta = {
|
||||
description = "Ocamldoc comment syntax parser";
|
||||
homepage = https://github.com/ocaml-doc/octavius;
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -395,6 +395,8 @@ let
|
||||
|
||||
ocsigen-toolkit = callPackage ../development/ocaml-modules/ocsigen-toolkit { };
|
||||
|
||||
octavius = callPackage ../development/ocaml-modules/octavius { };
|
||||
|
||||
ojquery = callPackage ../development/ocaml-modules/ojquery { };
|
||||
|
||||
omd = callPackage ../development/ocaml-modules/omd { };
|
||||
|
Loading…
Reference in New Issue
Block a user