summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/markup/default.nix
blob: 4ef00e759c968c9f498123789d3e5359d58683e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  ocaml,
  uchar,
  uutf,
  ounit2,
}:

buildDunePackage (finalAttrs: {
  pname = "markup";
  version = "1.0.3";

  src = fetchFromGitHub {
    owner = "aantron";
    repo = "markup.ml";
    tag = finalAttrs.version;
    hash = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
  };

  propagatedBuildInputs = [
    uchar
    uutf
  ];

  checkInputs = [ ounit2 ];
  doCheck = true;

  meta = {
    homepage = "https://github.com/aantron/markup.ml/";
    description = "Pair of best-effort parsers implementing the HTML5 and XML specifications";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ gal_bolle ];
  };

})