ocamlPackages.yaml: init at 2.0.1

This commit is contained in:
Vincent Laporte 2019-12-09 10:31:53 +00:00
parent ad95ea7223
commit bdd0a3fe8c
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, fetchurl, buildDunePackage
, ppx_sexp_conv
, bos, ctypes, fmt, logs, rresult, sexplib
}:
buildDunePackage rec {
pname = "yaml";
version = "2.0.1";
src = fetchurl {
url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-v${version}.tbz";
sha256 = "1r8jj572h416g2zliwmxj2j9hkv73nxnpfb9gmbj9gixg24lskx0";
};
propagatedBuildInputs = [ bos ctypes fmt logs ppx_sexp_conv rresult sexplib ];
meta = {
description = "Parse and generate YAML 1.1 files";
homepage = "https://github.com/avsm/ocaml-yaml";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -887,6 +887,8 @@ let
xtmpl = callPackage ../development/ocaml-modules/xtmpl { };
yaml = callPackage ../development/ocaml-modules/yaml { };
yojson = callPackage ../development/ocaml-modules/yojson { };
zarith = callPackage ../development/ocaml-modules/zarith { };