at 22.05-pre 29 lines 785 B view raw
1{ lib, fetchurl, buildDunePackage 2, dune-configurator 3, bos, ctypes, fmt, logs, rresult 4, mdx, alcotest, crowbar, junit_alcotest, ezjsonm 5}: 6 7buildDunePackage rec { 8 pname = "yaml"; 9 version = "3.0.0"; 10 11 useDune2 = true; 12 13 src = fetchurl { 14 url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-v${version}.tbz"; 15 sha256 = "1iws6lbnrrd5hhmm7lczfvqp0aidx5xn7jlqk2s5rjfmj9qf4j2c"; 16 }; 17 18 buildInputs = [ dune-configurator ]; 19 propagatedBuildInputs = [ bos ctypes rresult ]; 20 checkInputs = [ fmt logs mdx alcotest crowbar junit_alcotest ezjsonm ]; 21 22 meta = { 23 description = "Parse and generate YAML 1.1 files"; 24 homepage = "https://github.com/avsm/ocaml-yaml"; 25 license = lib.licenses.isc; 26 maintainers = [ lib.maintainers.vbgl ]; 27 }; 28 29}