diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libqb')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libqb/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libqb/default.nix b/nixpkgs/pkgs/development/libraries/libqb/default.nix new file mode 100644 index 000000000000..f5f255b111f1 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libqb/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }: + +stdenv.mkDerivation rec { + pname = "libqb"; + version = "2.0.2"; + + src = fetchFromGitHub { + owner = "ClusterLabs"; + repo = pname; + rev = "v${version}"; + sha256 = "1gpfcz84igqncky09hdibxmzapzl37y8914avgq89rsizynj1wsm"; + }; + + 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; + }; +} |