at 22.05-pre 29 lines 743 B view raw
1{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "libfyaml"; 5 version = "0.7.2"; 6 7 src = fetchFromGitHub { 8 owner = "pantoniou"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "0wq7ah9a83w0c5qppdpwqqjffwi85q7slz4im0kmkhxdp23v9m1i"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 16 doCheck = true; 17 18 preCheck = '' 19 patchShebangs test 20 ''; 21 22 meta = with lib; { 23 homepage = "https://github.com/pantoniou/libfyaml"; 24 description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite"; 25 license = licenses.mit; 26 maintainers = [ maintainers.marsam ]; 27 platforms = platforms.all; 28 }; 29}