diff options
author | Daniƫl de Kok <me@danieldk.eu> | 2021-01-30 11:32:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 11:32:15 +0100 |
commit | 44c8df7e2a8dd9edb3304de5f54a0c7fdec7c331 (patch) | |
tree | e4b564d725ba9db0356440a827dbfc27bf3ef348 /pkgs/development/libraries/libqb/default.nix | |
parent | 99726bde8661f4d2162f9df6ebf2caf2c65352cc (diff) | |
parent | 68889745cb52f4854adb87140489191f14848b7a (diff) |
Merge pull request #110952 from LeSuisse/libqb-2.0.2
libqb: 0.17.2 -> 2.0.2
Diffstat (limited to 'pkgs/development/libraries/libqb/default.nix')
-rw-r--r-- | pkgs/development/libraries/libqb/default.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libqb/default.nix b/pkgs/development/libraries/libqb/default.nix index 3f0a9a28d194..f5f255b111f1 100644 --- a/pkgs/development/libraries/libqb/default.nix +++ b/pkgs/development/libraries/libqb/default.nix @@ -1,19 +1,24 @@ -{ lib, stdenv, fetchurl, pkg-config }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }: stdenv.mkDerivation rec { - name = "libqb-0.17.2"; + pname = "libqb"; + version = "2.0.2"; - src = fetchurl { - url = "https://fedorahosted.org/releases/q/u/quarterback/${name}.tar.xz"; - sha256 = "1zpl45p3n6dn1jgbsrrmccrmv2mvp8aqmnl0qxfjf7ymkrj9qhcs"; + src = fetchFromGitHub { + owner = "ClusterLabs"; + repo = pname; + rev = "v${version}"; + sha256 = "1gpfcz84igqncky09hdibxmzapzl37y8914avgq89rsizynj1wsm"; }; - nativeBuildInputs = [ pkg-config ]; + 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.lgpl21; + license = licenses.lgpl21Plus; platforms = platforms.unix; }; } |