From d09eb594d3dda3814b0aa343f027457321f36b8e Mon Sep 17 00:00:00 2001 From: Minijackson Date: Fri, 2 Aug 2024 11:37:03 +0200 Subject: [PATCH] netbox_3_6: remove --- pkgs/servers/web-apps/netbox/default.nix | 29 ++++++++++-------------- pkgs/top-level/aliases.nix | 2 ++ pkgs/top-level/all-packages.nix | 3 +-- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/pkgs/servers/web-apps/netbox/default.nix b/pkgs/servers/web-apps/netbox/default.nix index fbd0e6e56d33..d494d128e5b0 100644 --- a/pkgs/servers/web-apps/netbox/default.nix +++ b/pkgs/servers/web-apps/netbox/default.nix @@ -1,21 +1,12 @@ -{ lib, nixosTests, callPackage, }: +{ + lib, + nixosTests, + callPackage, +}: let generic = import ./generic.nix; in -lib.fix (self: { - netbox_3_6 = callPackage generic { - version = "3.6.9"; - hash = "sha256-R/hcBKrylW3GnEy10DkrLVr8YJtsSCvCP9H9LhafO9I="; - extraPatches = [ - # Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL - ./config.patch - ]; - tests.netbox = nixosTests.netbox_3_6; - - maintainers = with lib.maintainers; [ minijackson n0emis raitobezarius ]; - eol = true; - }; - +{ netbox_3_7 = callPackage generic { version = "3.7.8"; hash = "sha256-61pJbMWXNFnvWI0z9yWvsutdCAP4VydeceANNw0nKsk="; @@ -25,7 +16,11 @@ lib.fix (self: { ]; tests.netbox = nixosTests.netbox_3_7; - maintainers = with lib.maintainers; [ minijackson n0emis raitobezarius ]; + maintainers = with lib.maintainers; [ + minijackson + n0emis + raitobezarius + ]; eol = true; }; -}) +} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index a403b1600e0b..179619891e3f 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -770,6 +770,8 @@ mapAliases { ncdu_2 = ncdu; # Added 2022-07-22 neocities-cli = neocities; # Added 2024-07-31 + netbox_3_3 = throw "netbox 3.3 series has been removed as it was EOL"; # Added 2023-09-02 + netbox_3_5 = throw "netbox 3.5 series has been removed as it was EOL"; # Added 2024-01-22 nextcloud27 = throw '' Nextcloud v27 has been removed from `nixpkgs` as the support for is dropped by upstream in 2024-06. Please upgrade to at least Nextcloud v28 by declaring diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index baeeea0f8e8a..65e9c6e84209 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10274,8 +10274,7 @@ with pkgs; netbootxyz-efi = callPackage ../tools/misc/netbootxyz-efi { }; - inherit (callPackage ../servers/web-apps/netbox { }) - netbox_3_6 netbox_3_7; + inherit (callPackage ../servers/web-apps/netbox { }) netbox_3_7; # Not in aliases because it wouldn't get picked up by callPackage netbox = netbox_4_1;