mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
30 lines
741 B
Nix
30 lines
741 B
Nix
{ 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;
|
|
};
|
|
}
|