nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 ocaml,
6 uchar,
7 uutf,
8 ounit2,
9}:
10
11buildDunePackage (finalAttrs: {
12 pname = "markup";
13 version = "1.0.3";
14
15 src = fetchFromGitHub {
16 owner = "aantron";
17 repo = "markup.ml";
18 tag = finalAttrs.version;
19 hash = "sha256-tsXz39qFSyL6vPYKG7P73zSEiraaFuOySL1n0uFij6k=";
20 };
21
22 propagatedBuildInputs = [
23 uchar
24 uutf
25 ];
26
27 checkInputs = [ ounit2 ];
28 doCheck = true;
29
30 meta = {
31 homepage = "https://github.com/aantron/markup.ml/";
32 description = "Pair of best-effort parsers implementing the HTML5 and XML specifications";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ gal_bolle ];
35 };
36
37})