intltool: add a backup url for a patch

Fixes:

  Failed to connect to sources.debian.org port 443: Connection timed out
This commit is contained in:
Dmitry Kalinkin 2020-05-01 23:49:00 -04:00
parent 5dbc4f7fda
commit df4c3b06f4
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -12,8 +12,10 @@ stdenv.mkDerivation rec {
# fix "unescaped left brace" errors when using intltool in some cases
patches = [(fetchpatch {
name = "perl5.26-regex-fixes.patch";
url = "https://sources.debian.org/data/main/i/intltool/0.51.0-5"
+ "/debian/patches/perl5.26-regex-fixes.patch";
url = [
"https://sources.debian.org/data/main/i/intltool/0.51.0-5/debian/patches/perl5.26-regex-fixes.patch"
"https://src.fedoraproject.org/rpms/intltool/raw/d8d2ef29fb122a42a6b6678eb1ec97ae56902af2/f/intltool-perl5.26-regex-fixes.patch"
];
sha256 = "12q2140867r5d0dysly72khi7b0mm2gd7nlm1k81iyg7fxgnyz45";
})];