From e6dea3982e59336b39ba4eb6fa7fcb0608997f03 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 10 Oct 2023 18:16:24 +0200 Subject: [PATCH] garage_0_7: drop This was EOL for a long time, 0.8 and 0.9 are out by now. --- pkgs/tools/filesystems/garage/default.nix | 17 ++--------------- pkgs/top-level/aliases.nix | 2 ++ pkgs/top-level/all-packages.nix | 4 ++-- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/pkgs/tools/filesystems/garage/default.nix b/pkgs/tools/filesystems/garage/default.nix index 4accc34b6242..bc3ff85e336a 100644 --- a/pkgs/tools/filesystems/garage/default.nix +++ b/pkgs/tools/filesystems/garage/default.nix @@ -31,8 +31,6 @@ let # on version changes for checking if changes are required here buildFeatures = [ "kubernetes-discovery" - ] ++ - (lib.optionals (lib.versionAtLeast version "0.8") [ "bundled-libs" "sled" "metrics" @@ -41,7 +39,7 @@ let "lmdb" "sqlite" "consul-discovery" - ]); + ]; # To make integration tests pass, we include the optional k2v feature here, # but in buildFeatures only for version 0.8+, where it's enabled by default. @@ -49,13 +47,11 @@ let checkFeatures = [ "k2v" "kubernetes-discovery" - ] ++ - (lib.optionals (lib.versionAtLeast version "0.8") [ "bundled-libs" "sled" "lmdb" "sqlite" - ]); + ]; passthru.tests = nixosTests.garage; @@ -74,15 +70,6 @@ in # we have to keep all the numbers in the version to handle major/minor/patch level. # for <1.0. - garage_0_7_3 = generic { - version = "0.7.3"; - sha256 = "sha256-WDhe2L+NalMoIy2rhfmv8KCNDMkcqBC9ezEKKocihJg="; - cargoSha256 = "sha256-5m4c8/upBYN8nuysDhGKEnNVJjEGC+yLrraicrAQOfI="; - eol = true; # Confirmed with upstream maintainers over Matrix. - }; - - garage_0_7 = garage_0_7_3; - garage_0_8_4 = generic { version = "0.8.4"; sha256 = "sha256-YgMw41ofM59h7OnHK1H8+Se5mZEdYypPIdkqbyX9qfs="; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 12e7b72bc0c9..2dc4834a5fdf 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -263,6 +263,8 @@ mapAliases ({ ### G ### g4py = python3Packages.geant4; # Added 2020-06-06 + garage_0_7 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10 + garage_0_7_3 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10 garmindev = throw "'garmindev' has been removed as the dependent software 'qlandkartegt' has been removed"; # Added 2023-04-17 geekbench4 = throw "'geekbench4' has been renamed to 'geekbench_4'"; # Added 2023-03-10 geekbench5 = throw "'geekbench5' has been renamed to 'geekbench_5'"; # Added 2023-03-10 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6cfc14e5f991..f72952683010 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8456,8 +8456,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }) garage - garage_0_7 garage_0_8 - garage_0_7_3 garage_0_8_4; + garage_0_8 + garage_0_8_4; garmin-plugin = callPackage ../applications/misc/garmin-plugin { };