p7zip: add commit ID to the patch

We still do mirror the patch (I think), as `nix-build -Q -A p7zip.patches`
downloaded it on my machine.  I verified that only the diff headers differ;
it's still better to have another working download and Fedora's URLs are
less likely to disappear than Debian's.
/cc #27075.
This commit is contained in:
Vladimír Čunát 2017-07-03 08:19:20 +02:00
parent 674e46d643
commit 6cad339a0e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -10,8 +10,9 @@ stdenv.mkDerivation rec {
};
patches = [
(fetchpatch {
url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/CVE-2016-9296.patch";
(fetchpatch rec {
name = "CVE-2016-9296.patch";
url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/${name}?id=4b3973f6a5d";
sha256 = "09wbkzai46bwm8zmplsz0m4jck3qn7snr68i9p1gsih300zidj0m";
})
];