2021-01-27 18:08:20 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
|
2014-10-08 09:25:25 +01:00
|
|
|
|
2020-06-07 22:11:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-01-27 18:08:20 +00:00
|
|
|
pname = "libqb";
|
2021-03-04 18:13:32 +00:00
|
|
|
version = "2.0.3";
|
2014-10-08 09:25:25 +01:00
|
|
|
|
2021-01-27 18:08:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ClusterLabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-04 18:13:32 +00:00
|
|
|
sha256 = "sha256-a9CnqfrQUL0DdPPOJjfh9tQ0O8iRHPP3iBmy3MKvt/0=";
|
2014-10-08 09:25:25 +01:00
|
|
|
};
|
|
|
|
|
2021-01-27 18:08:20 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 ];
|
2014-10-08 09:25:25 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/clusterlabs/libqb";
|
2016-06-20 11:53:46 +01: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 09:25:25 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|