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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
780 B
Nix
Raw Normal View History

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";
2023-02-08 04:20:00 +00:00
version = "0.8";
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}";
2023-02-08 04:20:00 +00:00
hash = "sha256-b/jRKe23NIVSydoczI+Ax2VjBJLfAEwF8SW61vIDTwA=";
2020-05-28 09:20:00 +00:00
};
2021-03-01 04:20:00 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
2023-02-08 04:20:00 +00:00
outputs = [ "bin" "dev" "out" "man" ];
2021-04-03 09:12:50 +00:00
doCheck = true;
preCheck = ''
patchShebangs test
'';
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;
};
}