python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libfyaml / default.nix
blob9384a7c976034d62bcbb88edc0142b42f544a5ac
1 { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "libfyaml";
5   version = "0.7.12";
7   src = fetchFromGitHub {
8     owner = "pantoniou";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-gmVjiwf8PsDYRt8jmXNrd+hJSL099hbLjq8Z0c1u2HE=";
12   };
14   nativeBuildInputs = [ autoreconfHook pkg-config ];
16   doCheck = true;
18   preCheck = ''
19     patchShebangs test
20   '';
22   meta = with lib; {
23     homepage = "https://github.com/pantoniou/libfyaml";
24     description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite";
25     license = licenses.mit;
26     maintainers = [ maintainers.marsam ];
27     platforms = platforms.all;
28   };