diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-01-17 20:37:20 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-01-17 20:37:20 +0100 |
commit | 1503c11c5dc6d85d15339c93748af561757d3853 (patch) | |
tree | 17c4c31fade3575223ae03d3013d95db98854d67 /pkgs/development/ocaml-modules/omd | |
parent | 3ab26fdb70175d04b7654c177ce709fac41efc06 (diff) |
ocamlPackages.omd: init at 1.3.0
OMD is an extensible Markdown library and tool in OCaml. Homepage: https://github.com/ocaml/omd
Diffstat (limited to 'pkgs/development/ocaml-modules/omd')
-rw-r--r-- | pkgs/development/ocaml-modules/omd/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/omd/default.nix b/pkgs/development/ocaml-modules/omd/default.nix new file mode 100644 index 0000000000000..41d68cdc4c42d --- /dev/null +++ b/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; + }; +} |