mariadb: revert to using fetchurl

Unlike the `fetchzip`, the `fetchurl` allows for tarballs to be backed
up to tarballs.nixos.org.
This commit is contained in:
Dmitry Kalinkin 2021-11-17 02:43:44 -05:00
parent c138eff315
commit 6253ab088a
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, fetchFromGitHub, cmake, pkg-config, makeWrapper, ncurses, nixosTests
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config, makeWrapper, ncurses, nixosTests
, libiconv, openssl, pcre2, boost, judy, bison, libxml2, libkrb5, linux-pam, curl
, libaio, libevent, jemalloc, cracklib, systemd, perl
, bzip2, lz4, lzo, snappy, xz, zlib, zstd
@ -24,9 +24,9 @@ mariadb = server // {
common = rec { # attributes common to both builds
version = "10.6.5";
src = fetchzip {
src = fetchurl {
url = "https://downloads.mariadb.com/MariaDB/mariadb-${version}/source/mariadb-${version}.tar.gz";
sha256 = "0rvcllbplgn92kr5n3qxfasnsqc8cn9ijm01fb7i7j2p9zxnfhig";
sha256 = "sha256-4L4EBCjZpCqLtL0iG1Z/8lIs1vqJBjhic9pPA8XCCo8=";
};
nativeBuildInputs = [ cmake pkg-config ]