ocamlPackages.yamlx: init at 0.1.0

This commit is contained in:
Vincent Laporte
2026-04-14 10:06:45 +02:00
parent e76cb704f4
commit 5d216b39e9
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,31 @@
{
lib,
buildDunePackage,
fetchurl,
ppx_deriving,
testo,
}:
buildDunePackage (finalAttrs: {
pname = "yamlx";
version = "0.1.0";
src = fetchurl {
url = "https://github.com/mjambon/yamlx/releases/download/${finalAttrs.version}/yamlx-${finalAttrs.version}.tbz";
hash = "sha256-Ihar37R1dUFMXSgNGEJu5z6ysFMcrg1Hd74hNLletwE=";
};
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";
};
})
+2
View File
@@ -2285,6 +2285,8 @@ let
yaml-sexp = callPackage ../development/ocaml-modules/yaml/yaml-sexp.nix { };
yamlx = callPackage ../development/ocaml-modules/yamlx { };
yojson = callPackage ../development/ocaml-modules/yojson { };
yojson_2 = yojson.overrideAttrs (_: {