mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
freeimage: fetchpatch -> fetchurl
These aren't generated patches, so there's no benefit in fetchpatch. /cc #30729.
This commit is contained in:
parent
a3dde9d13d
commit
1e32c3ee35
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchpatch, fetchurl, unzip, darwin }:
|
{ stdenv, fetchurl, unzip, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "freeimage-3.17.0";
|
name = "freeimage-3.17.0";
|
||||||
@ -8,14 +8,16 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "12bz57asdcfsz3zr9i9nska0fb6h3z2aizy412qjqkixkginbz7v";
|
sha256 = "12bz57asdcfsz3zr9i9nska0fb6h3z2aizy412qjqkixkginbz7v";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = let
|
||||||
(fetchpatch {
|
patchURL = https://anonscm.debian.org/cgit/debian-science/packages/freeimage.git/plain/debian/patches;
|
||||||
url = "https://anonscm.debian.org/cgit/debian-science/packages/freeimage.git/plain/debian/patches/Fix-CVE-2015-0852.patch";
|
in [
|
||||||
sha256 = "0qkb96mvvhji75gz7dma3vj2b71smp96z3kl2ydj6skvnw6slnmc";
|
(fetchurl {
|
||||||
|
url = patchURL + "/Fix-CVE-2015-0852.patch";
|
||||||
|
sha256 = "1vxdck4i5qi5j6i3cjja0gfy79mmbf0lq2qdrnqdsl4kclbvw2c8";
|
||||||
})
|
})
|
||||||
(fetchpatch {
|
(fetchurl {
|
||||||
url = "https://anonscm.debian.org/cgit/debian-science/packages/freeimage.git/plain/debian/patches/Fix-CVE-2016-5684.patch";
|
url = patchURL + "/Fix-CVE-2016-5684.patch";
|
||||||
sha256 = "18g5ckrvqfjcldis7zf7hmfl8b3mgnc6akd6x3cdq8c5j7l1y98f";
|
sha256 = "14ffgqbnwg28r6sjvm3z89zbnnm9ghbc81hdhrzxlyk3vwvd6cw3";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user