diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-07-15 15:56:23 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-07-25 06:06:41 +0200 |
commit | f4a95e846536026c56e5e06bd22c841c30f42ff1 (patch) | |
tree | cdb8804dbe1ae2bf2ae2b7f6f0ce41ab6cd623bc /pkgs/development/ocaml-modules/markup | |
parent | 941f2eab0016dcd6ed38c51c5cacdfac452854ec (diff) |
ocamlPackages.markup: 0.7.5 → 0.8.2
Diffstat (limited to 'pkgs/development/ocaml-modules/markup')
-rw-r--r-- | pkgs/development/ocaml-modules/markup/default.nix | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/pkgs/development/ocaml-modules/markup/default.nix b/pkgs/development/ocaml-modules/markup/default.nix index 92daea1a4b64d..8b3525d263454 100644 --- a/pkgs/development/ocaml-modules/markup/default.nix +++ b/pkgs/development/ocaml-modules/markup/default.nix @@ -1,28 +1,20 @@ -{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, uutf, lwt }: +{ lib, buildDunePackage, fetchzip, uutf }: -stdenv.mkDerivation rec { +buildDunePackage rec { pname = "markup"; - version = "0.7.5"; - name = "ocaml${ocaml.version}-${pname}-${version}"; + version = "0.8.2"; src = fetchzip { 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 ]; - createFindlibDestdir = true; - - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/aantron/markup.ml/"; description = "A pair of best-effort parsers implementing the HTML5 and XML specifications"; - license = licenses.bsd2; - platforms = ocaml.meta.platforms or []; + license = licenses.mit; maintainers = with maintainers; [ gal_bolle ]; |