nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 848 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.1.0"; 10 11 src = fetchurl { 12 url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz"; 13 hash = "sha256-0KngriGEpp5tcgK/43B9EEOdMacSQYYCNLGfAgRS7Mc="; 14 }; 15 16 minimalOCamlVersion = "4.13"; 17 duneVersion = "3"; 18 19 buildInputs = [ dune-configurator ]; 20 propagatedBuildInputs = [ bos ctypes ]; 21 22 doCheck = true; 23 nativeCheckInputs = [ mdx.bin ]; 24 checkInputs = [ fmt logs alcotest crowbar junit_alcotest ezjsonm ]; 25 26 meta = { 27 description = "Parse and generate YAML 1.1 files"; 28 homepage = "https://github.com/avsm/ocaml-yaml"; 29 license = lib.licenses.isc; 30 maintainers = [ lib.maintainers.vbgl ]; 31 }; 32 33}