Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 32 lines 827 B view raw
1{ lib, fetchurl, buildDunePackage 2, dune-configurator 3, bos, ctypes, fmt, logs 4, mdx, alcotest, crowbar, junit_alcotest, ezjsonm 5}: 6 7buildDunePackage rec { 8 pname = "yaml"; 9 version = "3.2.0"; 10 11 src = fetchurl { 12 url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz"; 13 hash = "sha256-xQ0qyii5+WZ5K3HhYDNR5dJO2k39PkRT+9UDZqOggic="; 14 }; 15 16 minimalOCamlVersion = "4.13"; 17 18 buildInputs = [ dune-configurator ]; 19 propagatedBuildInputs = [ bos ctypes ]; 20 21 doCheck = true; 22 nativeCheckInputs = [ mdx.bin ]; 23 checkInputs = [ fmt logs alcotest crowbar junit_alcotest ezjsonm ]; 24 25 meta = { 26 description = "Parse and generate YAML 1.1 files"; 27 homepage = "https://github.com/avsm/ocaml-yaml"; 28 license = lib.licenses.isc; 29 maintainers = [ lib.maintainers.vbgl ]; 30 }; 31 32}