depot/third_party/nixpkgs/pkgs/development/ocaml-modules/markup/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

28 lines
710 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, ocaml, uchar, uutf, ounit2 }:
buildDunePackage rec {
pname = "markup";
version = "1.0.3";
useDune2 = true;
src = fetchFromGitHub {
owner = "aantron";
repo = "markup.ml";
rev = version;
sha256 = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
};
propagatedBuildInputs = [ uchar uutf ];
checkInputs = [ ounit2 ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
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.mit;
maintainers = with maintainers; [ gal_bolle ];
};
}