nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 887 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 dune-configurator, 6 bos, 7 ctypes, 8 fmt, 9 logs, 10 mdx, 11 alcotest, 12 crowbar, 13 junit_alcotest, 14 ezjsonm, 15}: 16 17buildDunePackage rec { 18 pname = "yaml"; 19 version = "3.2.0"; 20 21 src = fetchurl { 22 url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz"; 23 hash = "sha256-xQ0qyii5+WZ5K3HhYDNR5dJO2k39PkRT+9UDZqOggic="; 24 }; 25 26 minimalOCamlVersion = "4.13"; 27 28 buildInputs = [ dune-configurator ]; 29 propagatedBuildInputs = [ 30 bos 31 ctypes 32 ]; 33 34 doCheck = true; 35 nativeCheckInputs = [ mdx.bin ]; 36 checkInputs = [ 37 fmt 38 logs 39 alcotest 40 crowbar 41 junit_alcotest 42 ezjsonm 43 ]; 44 45 meta = { 46 description = "Parse and generate YAML 1.1 files"; 47 homepage = "https://github.com/avsm/ocaml-yaml"; 48 license = lib.licenses.isc; 49 maintainers = [ lib.maintainers.vbgl ]; 50 }; 51 52}