2020-12-06 08:09:25 -08:00
|
|
|
{ lib, buildDunePackage, fetchzip, ocaml, uchar, uutf, ounit2 }:
|
2016-05-30 06:11:44 -07:00
|
|
|
|
2020-07-15 06:56:23 -07:00
|
|
|
buildDunePackage rec {
|
2016-12-04 02:17:42 -08:00
|
|
|
pname = "markup";
|
2020-12-06 08:09:25 -08:00
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2016-05-30 06:11:44 -07:00
|
|
|
|
2016-12-04 02:17:42 -08:00
|
|
|
src = fetchzip {
|
2019-04-22 01:14:28 -07:00
|
|
|
url = "https://github.com/aantron/markup.ml/archive/${version}.tar.gz";
|
2020-12-06 08:09:25 -08:00
|
|
|
sha256 = "09hkrf9pw6hpb9j06p5bddklpnjwdjpqza3bx2179l970yl67an9";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ uchar uutf ];
|
2016-05-30 06:11:44 -07:00
|
|
|
|
2020-12-06 08:09:25 -08:00
|
|
|
checkInputs = [ ounit2 ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.04";
|
2016-05-30 06:11:44 -07:00
|
|
|
|
2020-07-15 06:56:23 -07:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/aantron/markup.ml/";
|
2016-05-30 06:11:44 -07:00
|
|
|
description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
|
2020-07-15 06:56:23 -07:00
|
|
|
license = licenses.mit;
|
2020-12-06 08:09:25 -08:00
|
|
|
maintainers = with maintainers; [ gal_bolle ];
|
2016-05-30 06:11:44 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|