blob: 3c77231f349fb5e5e088c6718e0206d4f8f4478a (
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
|
{
lib,
buildDunePackage,
fetchurl,
ppx_deriving,
testo,
}:
buildDunePackage (finalAttrs: {
pname = "yamlx";
version = "0.5.0";
src = fetchurl {
url = "https://github.com/mjambon/yamlx/releases/download/${finalAttrs.version}/yamlx-${finalAttrs.version}.tbz";
hash = "sha256-ejpFZY4G6m4/EPApN6GDwEfFC9qS8azWeJQspOCRhkA=";
};
propagatedBuildInputs = [ ppx_deriving ];
doCheck = true;
checkInputs = [ testo ];
minimalOCamlVersion = "4.14";
meta = {
description = "Pure-OCaml YAML 1.2 parser with a lossless, comment-preserving AST";
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.agpl3Only;
homepage = "https://github.com/mjambon/yamlx";
};
})
|