Skip to content

Commit

Permalink
ocamlPackages.omd: init at 1.3.0
Browse files Browse the repository at this point in the history
OMD is an extensible Markdown library and tool in OCaml.

Homepage: https://github.com/ocaml/omd
  • Loading branch information
vbgl committed Jan 17, 2017
1 parent 3ab26fd commit 1503c11
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pkgs/development/ocaml-modules/omd/default.nix
@@ -0,0 +1,23 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:

stdenv.mkDerivation {
name = "ocaml${ocaml.version}-omd-1.3.0";
src = fetchurl {
url = http://pw374.github.io/distrib/omd/omd-1.3.0.tar.gz;
sha256 = "0d0r6c4s3hq11d0qjc0bc1s84hz7k8nfg5q6g239as8myam4a80w";
};

buildInputs = [ ocaml findlib ocamlbuild ];

createFindlibDestdir = true;

configurePhase = "ocaml setup.ml -configure --prefix $out";

meta = {
description = "Extensible Markdown library and tool in OCaml";
homepage = https://github.com/ocaml/omd;
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Expand Up @@ -347,6 +347,8 @@ let

ojquery = callPackage ../development/ocaml-modules/ojquery { };

omd = callPackage ../development/ocaml-modules/omd { };

otfm = callPackage ../development/ocaml-modules/otfm { };

otr = callPackage ../development/ocaml-modules/otr { };
Expand Down

0 comments on commit 1503c11

Please sign in to comment.