mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
25 lines
633 B
Nix
25 lines
633 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libqb";
|
|
version = "2.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ClusterLabs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-a9CnqfrQUL0DdPPOJjfh9tQ0O8iRHPP3iBmy3MKvt/0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ libxml2 ];
|
|
|
|
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;
|
|
};
|
|
}
|