diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libfyaml')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libfyaml/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libfyaml/default.nix b/nixpkgs/pkgs/development/libraries/libfyaml/default.nix new file mode 100644 index 000000000000..dfb540b0bd29 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libfyaml/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "libfyaml"; + version = "0.7"; + + src = fetchFromGitHub { + owner = "pantoniou"; + repo = pname; + rev = "v${version}"; + sha256 = "10w1n4zzgw33j755pkv73fxdn93kwbzg486b5m9i0bh5d76jp4ax"; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + + doCheck = true; + + preCheck = '' + patchShebangs test + ''; + + meta = with lib; { + homepage = "https://github.com/pantoniou/libfyaml"; + description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + platforms = platforms.all; + }; +} |