diff options
author | Thomas Gerbet <thomas@gerbet.me> | 2021-01-23 02:23:22 +0100 |
---|---|---|
committer | Thomas Gerbet <thomas@gerbet.me> | 2021-01-23 13:38:55 +0100 |
commit | 171406507dfedb0791dee815370f5cc63a02d287 (patch) | |
tree | f466a2df68f0117cf55cdfb1c01e238f450f19f5 /pkgs/development/libraries | |
parent | 4766c5e8be0f5002120a0996613fc60d69cacdd9 (diff) | |
download | nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.tar nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.tar.gz nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.tar.bz2 nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.tar.lz nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.tar.xz nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.tar.zst nixpkgs-171406507dfedb0791dee815370f5cc63a02d287.zip |
libgadu: 1.11.2 -> 1.12.2
Fixes CVE-2013-4488 and CVE-2014-3775.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/libgadu/default.nix | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/development/libraries/libgadu/default.nix b/pkgs/development/libraries/libgadu/default.nix index 10705a2c164..72bf067b2db 100644 --- a/pkgs/development/libraries/libgadu/default.nix +++ b/pkgs/development/libraries/libgadu/default.nix @@ -1,19 +1,23 @@ -{lib, stdenv, fetchurl, zlib}: +{ lib, stdenv, fetchFromGitHub, zlib, protobufc, autoreconfHook }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { + pname = "libgadu"; + version = "1.12.2"; - name = "libgadu-1.11.2"; - - src = fetchurl { - url = "http://toxygen.net/libgadu/files/libgadu-1.11.2.tar.gz"; - sha256 = "0kifi9blhbimihqw4kaf6wyqhlx8fpp8nq4s6y280ar9p0il2n3z"; + src = fetchFromGitHub { + owner = "wojtekka"; + repo = pname; + rev = version; + sha256 = "1s16cripy5w9k12534qb012iwc5m9qcjyrywgsziyn3kl3i0aa8h"; }; propagatedBuildInputs = [ zlib ]; + buildInputs = [ protobufc ]; + nativeBuildInputs = [ autoreconfHook ]; meta = { description = "A library to deal with gadu-gadu protocol (most popular polish IM protocol)"; - homepage = "http://toxygen.net/libgadu/"; + homepage = "https://libgadu.net/index.en.html"; platforms = lib.platforms.linux; license = lib.licenses.lgpl21; }; |