Merge pull request #124928 from NixOS/backport-124713-to-release-21.05
[Backport release-21.05] getdata: add security patch from Debian
This commit is contained in:
commit
bae3f3be2a
|
@ -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; {
|
||||
|
|
Loading…
Reference in New Issue