ocamlPackages.markup: 0.7.5 → 0.8.2

This commit is contained in:
Vincent Laporte 2020-07-15 15:56:23 +02:00 committed by Vincent Laporte
parent 941f2eab00
commit f4a95e8465

View File

@ -1,28 +1,20 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, uutf, lwt }: { lib, buildDunePackage, fetchzip, uutf }:
stdenv.mkDerivation rec { buildDunePackage rec {
pname = "markup"; pname = "markup";
version = "0.7.5"; version = "0.8.2";
name = "ocaml${ocaml.version}-${pname}-${version}";
src = fetchzip { src = fetchzip {
url = "https://github.com/aantron/markup.ml/archive/${version}.tar.gz"; url = "https://github.com/aantron/markup.ml/archive/${version}.tar.gz";
sha256 = "09qm73m6c6wjh51w61vnfsnis37m28cf1r6hnkr3bbg903ahwbp5"; sha256 = "13zcrwzjmifniv3bvjbkd2ah8wwa3ld75bxh1d8hrzdvfxzh9szn";
}; };
buildInputs = [ ocaml findlib ocamlbuild lwt ];
installPhase = "make ocamlfind-install";
propagatedBuildInputs = [ uutf ]; propagatedBuildInputs = [ uutf ];
createFindlibDestdir = true; meta = with lib; {
meta = with stdenv.lib; {
homepage = "https://github.com/aantron/markup.ml/"; homepage = "https://github.com/aantron/markup.ml/";
description = "A pair of best-effort parsers implementing the HTML5 and XML specifications"; description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
license = licenses.bsd2; license = licenses.mit;
platforms = ocaml.meta.platforms or [];
maintainers = with maintainers; [ maintainers = with maintainers; [
gal_bolle gal_bolle
]; ];