2021-03-01 05:20:00 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
|
2020-05-28 11:20:00 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfyaml";
|
2022-01-19 05:20:00 +01:00
|
|
|
version = "0.7.12";
|
2020-05-28 11:20:00 +02:00
|
|
|
|
2021-03-01 05:20:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pantoniou";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-19 05:20:00 +01:00
|
|
|
sha256 = "sha256-gmVjiwf8PsDYRt8jmXNrd+hJSL099hbLjq8Z0c1u2HE=";
|
2020-05-28 11:20:00 +02:00
|
|
|
};
|
|
|
|
|
2021-03-01 05:20:00 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
2021-04-03 11:12:50 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
patchShebangs test
|
|
|
|
'';
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-05-28 11:20:00 +02: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;
|
|
|
|
};
|
|
|
|
}
|