ocamlPackages.yamlx: init at 0.1.0
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
@@ -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 (_: {
|
||||
|
||||
Reference in New Issue
Block a user