Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / yaml / default.nix
blobc8b2b614e8608a4c4684e1403f51162f7da8819c
1 { lib, fetchurl, buildDunePackage
2 , dune-configurator
3 , ppx_sexp_conv
4 , bos, ctypes, fmt, logs, rresult, sexplib
5 }:
7 buildDunePackage rec {
8   pname = "yaml";
9   version = "2.1.0";
11   useDune2 = true;
13   src = fetchurl {
14     url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-v${version}.tbz";
15     sha256 = "03g8vsh5jgi1cm5q78v15slgnzifp91fp7n4v1i7pa8yk0bkh585";
16   };
18   buildInputs = [ dune-configurator ];
19   propagatedBuildInputs = [ bos ctypes fmt logs ppx_sexp_conv rresult sexplib ];
21   meta = {
22     description = "Parse and generate YAML 1.1 files";
23     homepage = "https://github.com/avsm/ocaml-yaml";
24     license = lib.licenses.isc;
25     maintainers = [ lib.maintainers.vbgl ];
26   };