nixpkgs/pkgs/development/libraries/libfyaml/default.nix

24 lines
678 B
Nix
Raw Normal View History

2021-02-28 20:20:00 -08:00
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
2020-05-28 02:20:00 -07:00
stdenv.mkDerivation rec {
pname = "libfyaml";
2021-03-25 21:20:00 -07:00
version = "0.6.3";
2020-05-28 02:20:00 -07:00
2021-02-28 20:20:00 -08:00
src = fetchFromGitHub {
owner = "pantoniou";
repo = pname;
rev = "v${version}";
2021-03-25 21:20:00 -07:00
sha256 = "1aw5s0ns79jr3lpcy3hdsrlr79rrv5aqymv4h43axvy2bi90nrr0";
2020-05-28 02:20:00 -07:00
};
2021-02-28 20:20:00 -08:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
2020-05-28 02:20:00 -07:00
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;
};
}