My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libqb/default.nix

28 lines
742 B

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
stdenv.mkDerivation rec {
pname = "libqb";
version = "2.0.6";
src = fetchFromGitHub {
owner = "ClusterLabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vt9FmIRojX3INOn3CXAjkswVFD8Th4sRIz3RR4GJHFQ=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libxml2 ];
postPatch = ''
sed -i '/# --enable-new-dtags:/,/--enable-new-dtags is required/ d' configure.ac
'';
meta = with lib; {
homepage = "https://github.com/clusterlabs/libqb";
description = "A library providing high performance logging, tracing, ipc, and poll";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
};
}