1{ lib, stdenv, fetchFromGitHub, zlib, protobufc, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "libgadu";
5 version = "1.12.2";
6
7 src = fetchFromGitHub {
8 owner = "wojtekka";
9 repo = pname;
10 rev = version;
11 sha256 = "1s16cripy5w9k12534qb012iwc5m9qcjyrywgsziyn3kl3i0aa8h";
12 };
13
14 propagatedBuildInputs = [ zlib ];
15 buildInputs = [ protobufc ];
16 nativeBuildInputs = [ autoreconfHook ];
17
18 meta = {
19 description = "A library to deal with gadu-gadu protocol (most popular polish IM protocol)";
20 homepage = "https://libgadu.net/index.en.html";
21 platforms = lib.platforms.linux;
22 license = lib.licenses.lgpl21;
23 };
24
25}