diff --git a/doc/release-notes/rl-2605.section.md b/doc/release-notes/rl-2605.section.md index 6e12a6b46674..6b7a5a919d9f 100644 --- a/doc/release-notes/rl-2605.section.md +++ b/doc/release-notes/rl-2605.section.md @@ -76,6 +76,8 @@ - `lima` has been updated from `1.x` to `2.x`. This major update includes several breaking changes, such as `/tmp/lima` no longer being mounted by default. +- `minio_legacy_fs` has been removed. If you used that package, migrate your data to be compatible with the newest minio and use the package `minio`. + - `mercure` has been update to `0.21.4` (or later). Version [0.21.0](https://github.com/dunglas/mercure/releases/v0.21.0) and [0.21.2](https://github.com/dunglas/mercure/releases/tag/v0.21.2) introduce breaking changes to the package. - `n8n` has been updated to version 2. You can find the breaking changes here: https://docs.n8n.io/2-0-breaking-changes/. diff --git a/pkgs/servers/minio/legacy_fs.nix b/pkgs/servers/minio/legacy_fs.nix deleted file mode 100644 index 0f9c02fb7e50..000000000000 --- a/pkgs/servers/minio/legacy_fs.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ - lib, - buildGoModule, - fetchFromGitHub, - nixosTests, -}: - -let - # The web client verifies, that the server version is a valid datetime string: - # https://github.com/minio/minio/blob/3a0e7347cad25c60b2e51ff3194588b34d9e424c/browser/app/js/web.js#L51-L53 - # - # Example: - # versionToTimestamp "2021-04-22T15-44-28Z" - # => "2021-04-22T15:44:28Z" - versionToTimestamp = - version: - let - splitTS = builtins.elemAt (builtins.split "(.*)(T.*)" version) 1; - in - builtins.concatStringsSep "" [ - (builtins.elemAt splitTS 0) - (builtins.replaceStrings [ "-" ] [ ":" ] (builtins.elemAt splitTS 1)) - ]; -in -buildGoModule rec { - pname = "minio"; - version = "2022-10-24T18-35-07Z"; - - src = fetchFromGitHub { - owner = "minio"; - repo = "minio"; - rev = "RELEASE.${version}"; - sha256 = "sha256-sABNzhyfBNU5pWyE/VWHUzuSyKsx0glj01ectJPakV8="; - }; - - vendorHash = "sha256-wB3UiuptT6D0CIUlHC1d5k0rjIxNeh5yAWOmYpyLGmA="; - - doCheck = false; - - subPackages = [ "." ]; - - env.CGO_ENABLED = 0; - - tags = [ "kqueue" ]; - - ldflags = - let - t = "github.com/minio/minio/cmd"; - in - [ - "-s" - "-w" - "-X ${t}.Version=${versionToTimestamp version}" - "-X ${t}.ReleaseTag=RELEASE.${version}" - "-X ${t}.CommitID=${src.rev}" - ]; - - passthru.tests.minio = nixosTests.minio; - - meta = { - homepage = "https://www.minio.io/"; - description = "S3-compatible object storage server"; - mainProgram = "minio"; - changelog = "https://github.com/minio/minio/releases/tag/RELEASE.${version}"; - maintainers = with lib.maintainers; [ bachp ]; - license = lib.licenses.agpl3Plus; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 6928fd003b60..9e43b4f515b9 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1205,6 +1205,7 @@ mapAliases { minetest-touch = throw "'minetest-touch' has been renamed to/replaced by 'luanti-client'"; # Converted to throw 2025-10-27 minetestclient = throw "'minetestclient' has been renamed to/replaced by 'luanti-client'"; # Converted to throw 2025-10-27 minetestserver = throw "'minetestserver' has been renamed to/replaced by 'luanti-server'"; # Converted to throw 2025-10-27 + minio_legacy_fs = throw "'minio_legacy_fs' has been removed, migrate your data and use 'minio'"; # Added 2026-02-02 minizincide = warnAlias "'minizincide' has been renamed to 'minizinc-ide'" minizinc-ide; # Added 2026-01-03 minizip2 = throw "'minizip2' has been renamed to/replaced by 'minizip-ng'"; # Converted to throw 2025-10-27 miru = throw "'miru' has been removed due to lack maintenance"; # Added 2025-08-21 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 445484fc0940..74435a88cdf4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8439,9 +8439,6 @@ with pkgs; }; minio = callPackage ../servers/minio { }; - # Keep around to allow people to migrate their data from the old legacy fs format - # https://github.com/minio/minio/releases/tag/RELEASE.2022-10-29T06-21-33Z - minio_legacy_fs = callPackage ../servers/minio/legacy_fs.nix { }; mkchromecast = libsForQt5.callPackage ../applications/networking/mkchromecast { };