2021-03-01 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
|
2020-05-28 09:20:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfyaml";
|
2021-04-01 04:20:00 +00:00
|
|
|
version = "0.7";
|
2020-05-28 09:20:00 +00:00
|
|
|
|
2021-03-01 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pantoniou";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-01 04:20:00 +00:00
|
|
|
sha256 = "10w1n4zzgw33j755pkv73fxdn93kwbzg486b5m9i0bh5d76jp4ax";
|
2020-05-28 09:20:00 +00:00
|
|
|
};
|
|
|
|
|
2021-03-01 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-05-28 09:20:00 +00: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;
|
|
|
|
};
|
|
|
|
}
|