Skip to content

Commit

Permalink
[Backport release-24.11] percona: several package updates (#366897)
Browse files Browse the repository at this point in the history
  • Loading branch information
leona-ya authored Dec 20, 2024
2 parents ddafee7 + 7faad36 commit 333bf46
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
9 changes: 8 additions & 1 deletion pkgs/servers/sql/percona-server/8_0.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
gitUpdater,
bison,
cmake,
pkg-config,
Expand Down Expand Up @@ -182,7 +183,13 @@ stdenv.mkDerivation (finalAttrs: {
connector-c = finalAttrs.finalPackage;
server = finalAttrs.finalPackage;
mysqlVersion = lib.versions.majorMinor finalAttrs.version;
tests.percona-server = nixosTests.mysql.percona-server_8_0;
tests.percona-server =
nixosTests.mysql."percona-server_${lib.versions.major finalAttrs.version}_${lib.versions.minor finalAttrs.version}";
updateScript = gitUpdater {
url = "https://github.com/percona/percona-server";
rev-prefix = "Percona-Server-";
allowedVersions = "${lib.versions.major finalAttrs.version}\\.${lib.versions.minor finalAttrs.version}\\..+";
};
};

meta = with lib; {
Expand Down
13 changes: 10 additions & 3 deletions pkgs/servers/sql/percona-server/8_4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
gitUpdater,
bison,
cmake,
pkg-config,
Expand Down Expand Up @@ -50,11 +51,11 @@ assert !(withJemalloc && withTcmalloc);

stdenv.mkDerivation (finalAttrs: {
pname = "percona-server";
version = "8.4.2-2";
version = "8.4.3-3";

src = fetchurl {
url = "https://downloads.percona.com/downloads/Percona-Server-${lib.versions.majorMinor finalAttrs.version}/Percona-Server-${finalAttrs.version}/source/tarball/percona-server-${finalAttrs.version}.tar.gz";
hash = "sha256-KdaF2+vZfWf6fW8HWi+c97SHW+WqmlcpdPzUUgX94EY=";
hash = "sha256-37W0b8zYKErToJBU+aYtCmQjorcDtvuG0YbOwJzuZgo=";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -204,7 +205,13 @@ stdenv.mkDerivation (finalAttrs: {
connector-c = finalAttrs.finalPackage;
server = finalAttrs.finalPackage;
mysqlVersion = lib.versions.majorMinor finalAttrs.version;
tests.percona-server = nixosTests.mysql.percona-server_8_4;
tests.percona-server =
nixosTests.mysql."percona-server_${lib.versions.major finalAttrs.version}_${lib.versions.minor finalAttrs.version}";
updateScript = gitUpdater {
url = "https://github.com/percona/percona-server";
rev-prefix = "Percona-Server-";
allowedVersions = "${lib.versions.major finalAttrs.version}\\.${lib.versions.minor finalAttrs.version}\\..+";
};
};

meta = with lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/backup/percona-xtrabackup/8_4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
callPackage ./generic.nix (
args
// {
version = "8.4.0-1";
hash = "sha256-2tWRRYH0P0HZsWTxeuvDeVWvDwqjjdv6J7YiZwoTKtM=";
version = "8.4.0-2";
hash = "sha256-ClW/B175z/sxF/MT9iHW1Wtr0ere63tIgUpcMp1IfTs=";

# includes https://github.com/Percona-Lab/libkmip.git
fetchSubmodules = true;
Expand Down

0 comments on commit 333bf46

Please sign in to comment.