@@ -1,28 +1,20 @@
1−{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, uutf, lwt }:
1+{ lib, buildDunePackage, fetchzip, uutf }:
22
3−stdenv.mkDerivation rec {
3+buildDunePackage rec {
44 pname = "markup";
5− version = "0.7.5";
6− name = "ocaml${ocaml.version}-${pname}-${version}";
5+ version = "0.8.2";
76
87 src = fetchzip {
98 url = "https://github.com/aantron/markup.ml/archive/${version}.tar.gz";
10− sha256 = "09qm73m6c6wjh51w61vnfsnis37m28cf1r6hnkr3bbg903ahwbp5";
9+ sha256 = "13zcrwzjmifniv3bvjbkd2ah8wwa3ld75bxh1d8hrzdvfxzh9szn";
1110 };
1211
13− buildInputs = [ ocaml findlib ocamlbuild lwt ];
14−
15− installPhase = "make ocamlfind-install";
16−
1712 propagatedBuildInputs = [ uutf ];
1813
19− createFindlibDestdir = true;
20−
21− meta = with stdenv.lib; {
14+ meta = with lib; {
2215 homepage = "https://github.com/aantron/markup.ml/";
2316 description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
24− license = licenses.bsd2;
25− platforms = ocaml.meta.platforms or [];
17+ license = licenses.mit;
2618 maintainers = with maintainers; [
2719 gal_bolle
2820 ];