mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #41871 from bhipple/fix/mariadb-src-url
mariadb: provide multiple src url mirrors
This commit is contained in:
commit
5e451e41c3
@ -25,7 +25,10 @@ common = rec { # attributes common to both builds
|
||||
version = "10.2.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.mariadb.org/f/mariadb-${version}/source/mariadb-${version}.tar.gz";
|
||||
urls = [
|
||||
"https://downloads.mariadb.org/f/mariadb-${version}/source/mariadb-${version}.tar.gz"
|
||||
"https://downloads.mariadb.com/MariaDB/mariadb-${version}/source/mariadb-${version}.tar.gz"
|
||||
];
|
||||
sha256 = "04ds6vkb7k2lqpcdz663z4ll1jx1zz2hqxz5nj7gs8pwb18j1pik";
|
||||
name = "mariadb-${version}.tar.gz";
|
||||
};
|
||||
@ -180,7 +183,7 @@ connector-c = stdenv.mkDerivation rec {
|
||||
version = "2.3.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve";
|
||||
url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//nyc2.mirrors.digitalocean.com/mariadb/";
|
||||
sha256 = "15iy5iqp0njbwbn086x2dq8qnbkaci7ydvi84cf5z8fxvljis9vb";
|
||||
name = "mariadb-connector-c-${version}-src.tar.gz";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user