2021-01-27 18:08:20 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
|
2014-10-08 08:25:25 +00:00
|
|
|
|
2020-06-07 21:11:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-01-27 18:08:20 +00:00
|
|
|
pname = "libqb";
|
2022-03-24 18:07:21 +00:00
|
|
|
version = "2.0.6";
|
2014-10-08 08:25:25 +00:00
|
|
|
|
2021-01-27 18:08:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ClusterLabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-24 18:07:21 +00:00
|
|
|
sha256 = "sha256-vt9FmIRojX3INOn3CXAjkswVFD8Th4sRIz3RR4GJHFQ=";
|
2014-10-08 08:25:25 +00:00
|
|
|
};
|
|
|
|
|
2021-01-27 18:08:20 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 ];
|
2014-10-08 08:25:25 +00:00
|
|
|
|
2021-11-21 16:35:50 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i '/# --enable-new-dtags:/,/--enable-new-dtags is required/ d' configure.ac
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/clusterlabs/libqb";
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A library providing high performance logging, tracing, ipc, and poll";
|
2021-01-27 18:08:20 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2014-10-08 08:25:25 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|