diff options
author | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-05-30 04:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 04:04:45 +0200 |
commit | 17887e4967739862ff260b04ea42abae6a6bae85 (patch) | |
tree | fc100850ac3bce78bfe7382e418227cb755558ac /pkgs | |
parent | 27aa13c55b5e7dc2ca40d3a63779bdb6ce064547 (diff) |
getdata: add security patch from Debian (#124713)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/getdata/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/getdata/default.nix b/pkgs/development/libraries/getdata/default.nix index de76924844fe6..25321c22434e6 100644 --- a/pkgs/development/libraries/getdata/default.nix +++ b/pkgs/development/libraries/getdata/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, libtool }: +{ lib, stdenv, fetchurl, fetchpatch, libtool }: stdenv.mkDerivation rec { pname = "getdata"; version = "0.10.0"; @@ -7,6 +7,13 @@ stdenv.mkDerivation rec { sha256 = "18xbb32vygav9x6yz0gdklif4chjskmkgp06rwnjdf9myhia0iym"; }; + patches = [ + (fetchpatch { + url = "https://sources.debian.org/data/main/libg/libgetdata/0.10.0-10/debian/patches/CVE-2021-20204.patch"; + sha256 = "1lvp1c2pkk9kxniwlvax6d8fsmjrkpxawf71c7j4rfjm6dgvivzm"; + }) + ]; + buildInputs = [ libtool ]; meta = with lib; { |