nixpkgs/pkgs/development/libraries/libqb/default.nix

25 lines
633 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
2014-10-08 10:25:25 +02:00
stdenv.mkDerivation rec {
pname = "libqb";
2021-03-04 19:13:32 +01:00
version = "2.0.3";
2014-10-08 10:25:25 +02:00
src = fetchFromGitHub {
owner = "ClusterLabs";
repo = pname;
rev = "v${version}";
2021-03-04 19:13:32 +01:00
sha256 = "sha256-a9CnqfrQUL0DdPPOJjfh9tQ0O8iRHPP3iBmy3MKvt/0=";
2014-10-08 10:25:25 +02:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libxml2 ];
2014-10-08 10:25:25 +02:00
meta = with lib; {
homepage = "https://github.com/clusterlabs/libqb";
description = "A library providing high performance logging, tracing, ipc, and poll";
license = licenses.lgpl21Plus;
2014-10-08 10:25:25 +02:00
platforms = platforms.unix;
};
}