git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110952 from LeSuisse/libqb-2.0.2

libqb: 0.17.2 -> 2.0.2

commit44c8df7e2a8dd9edb3304de5f54a0c7fdec7c331 authorDaniël de Kok <me@danieldk.eu> dateSat 30 Jan 2021, 11:32 (6 years ago) parent99726bd6888974
1 file changed+12−7
pkgs/development/libraries/libqb/default.nix+12−7
pkgs/development/libraries/libqb/default.nix+12−7
@@ -1,19 +1,24 @@
1−{ lib, stdenv, fetchurl, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxml2 }:
22
33stdenv.mkDerivation rec {
4− name = "libqb-0.17.2";
4+ pname = "libqb";
5+ version = "2.0.2";
56
6− src = fetchurl {
7− url = "https://fedorahosted.org/releases/q/u/quarterback/${name}.tar.xz";
8− sha256 = "1zpl45p3n6dn1jgbsrrmccrmv2mvp8aqmnl0qxfjf7ymkrj9qhcs";
7+ src = fetchFromGitHub {
8+ owner = "ClusterLabs";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "1gpfcz84igqncky09hdibxmzapzl37y8914avgq89rsizynj1wsm";
912 };
1013
11− nativeBuildInputs = [ pkg-config ];
14+ nativeBuildInputs = [ autoreconfHook pkg-config ];
15+
16+ buildInputs = [ libxml2 ];
1217
1318 meta = with lib; {
1419 homepage = "https://github.com/clusterlabs/libqb";
1520 description = "A library providing high performance logging, tracing, ipc, and poll";
16− license = licenses.lgpl21;
21+ license = licenses.lgpl21Plus;
1722 platforms = platforms.unix;
1823 };
1924}