2016-05-30 14:11:44 +01:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, uutf, lwt }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-31 17:06:38 +01:00
|
|
|
pname = "ocaml-markup";
|
2016-05-30 14:11:44 +01:00
|
|
|
version = "0.7.2";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://github.com/aantron/markup.ml/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0d3wi22v7h0iqzq8dgl0g4fj2wb67gvmbzdckacifghinrx762k3";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ocaml findlib];
|
|
|
|
|
|
|
|
installPhase = "make ocamlfind-install";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [uutf lwt];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/aantron/markup.ml/;
|
|
|
|
description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
|
2016-05-31 17:06:38 +01:00
|
|
|
license = licenses.bsd2;
|
2016-05-30 14:11:44 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
gal_bolle
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|