Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OMD is an extensible Markdown library and tool in OCaml. Homepage: https://github.com/ocaml/omd
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters