python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libqb / default.nix
blob5cbc9b8f09b7bde92c06fdcf0db54f51300d0755
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
3 stdenv.mkDerivation rec {
4   pname = "libqb";
5   version = "2.0.6";
7   src = fetchFromGitHub {
8     owner = "ClusterLabs";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-vt9FmIRojX3INOn3CXAjkswVFD8Th4sRIz3RR4GJHFQ=";
12   };
14   nativeBuildInputs = [ autoreconfHook pkg-config ];
16   buildInputs = [ libxml2 ];
18   postPatch = ''
19     sed -i '/# --enable-new-dtags:/,/--enable-new-dtags is required/ d' configure.ac
20   '';
22   meta = with lib; {
23     homepage = "https://github.com/clusterlabs/libqb";
24     description = "A library providing high performance logging, tracing, ipc, and poll";
25     license = licenses.lgpl21Plus;
26     platforms = platforms.unix;
27   };