nixpkgs/pkgs/development/ocaml-modules/markup/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
710 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchFromGitHub, ocaml, uchar, uutf, ounit2 }:
2016-05-30 13:11:44 +00:00
2020-07-15 13:56:23 +00:00
buildDunePackage rec {
2016-12-04 10:17:42 +00:00
pname = "markup";
2022-08-01 00:35:04 +00:00
version = "1.0.3";
2020-12-06 16:09:25 +00:00
useDune2 = true;
2016-05-30 13:11:44 +00:00
src = fetchFromGitHub {
owner = "aantron";
repo = "markup.ml";
rev = version;
2022-08-01 00:35:04 +00:00
sha256 = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
2020-12-06 16:09:25 +00:00
};
propagatedBuildInputs = [ uchar uutf ];
2016-05-30 13:11:44 +00:00
2020-12-06 16:09:25 +00:00
checkInputs = [ ounit2 ];
doCheck = lib.versionAtLeast ocaml.version "4.04";
2016-05-30 13:11:44 +00:00
2020-07-15 13:56:23 +00:00
meta = with lib; {
homepage = "https://github.com/aantron/markup.ml/";
2016-05-30 13:11:44 +00:00
description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
2020-07-15 13:56:23 +00:00
license = licenses.mit;
2020-12-06 16:09:25 +00:00
maintainers = with maintainers; [ gal_bolle ];
2016-05-30 13:11:44 +00:00
};
}