Unverified Commit 541d1eef authored by Minijackson's avatar Minijackson
Browse files

netbox_3_3: remove



should be, by now, unused by everyone

Co-authored-by: default avatarRaito Bezarius <masterancpp@gmail.com>
parent 828f0446
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -530,7 +530,6 @@ in {
  networking.networkd = handleTest ./networking.nix { networkd = true; };
  networking.scripted = handleTest ./networking.nix { networkd = false; };
  netbox_3_5 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_5; };
  netbox_3_3 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_3; };
  netbox_3_6 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_6; };
  netbox-upgrade = handleTest ./web-apps/netbox-upgrade.nix {};
  # TODO: put in networking.nix after the test becomes more complete
+1 −23
Original line number Diff line number Diff line
{ lib, nixosTests, callPackage, fetchpatch }:
{ lib, nixosTests, callPackage, }:
let
  generic = import ./generic.nix;
in
lib.fix (self: {
  netbox = self.netbox_3_6;

  netbox_3_3 = callPackage generic {
    version = "3.3.10";
    hash = "sha256-MeOfTU5IxNDoUh7FyvwAQNRC/CE0R6p40WnlF+3RuxA=";
    extraPatches = [
      # Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
      ./config_3_3.patch
      ./graphql-3_2_0.patch
      # fix compatibility ith django 4.1
      (fetchpatch {
        url = "https://github.com/netbox-community/netbox/pull/10341/commits/ce6bf9e5c1bc08edc80f6ea1e55cf1318ae6e14b.patch";
        sha256 = "sha256-aCPQp6k7Zwga29euASAd+f13hIcZnIUu3RPAzNPqgxc=";
      })
    ];

    tests = {
      netbox = nixosTests.netbox_3_3;
      inherit (nixosTests) netbox-upgrade;
    };
    maintainers = with lib.maintainers; [ n0emis raitobezarius ];
    eol = true;
  };

  netbox_3_5 = callPackage generic {
    version = "3.5.9";
    hash = "sha256-CJbcuCyTuihDXrObSGyJi2XF+zgWAwcJzjxtkX8pmKs=";
+1 −0
Original line number Diff line number Diff line
@@ -1183,6 +1183,7 @@ mapAliases ({
  nccl_cudatoolkit_11 = throw "nccl_cudatoolkit_11 has been renamed to cudaPackages_11.nccl"; # Added 2022-04-04

  net_snmp = throw "'net_snmp' has been renamed to/replaced by 'net-snmp'"; # Converted to throw 2023-09-10
  netbox_3_3 = throw "netbox 3.3 series has been removed as it was EOL"; # Added 2023-09-02
  nagiosPluginsOfficial = monitoring-plugins;
  navit = throw "navit has been removed from nixpkgs, due to being unmaintained"; # Added 2021-06-07
  ncat = throw "'ncat' has been renamed to/replaced by 'nmap'"; # Converted to throw 2022-02-22
+1 −1
Original line number Diff line number Diff line
@@ -11073,7 +11073,7 @@ with pkgs;
  netbootxyz-efi = callPackage ../tools/misc/netbootxyz-efi { };
  inherit (callPackage ../servers/web-apps/netbox { })
    netbox netbox_3_3 netbox_3_5 netbox_3_6;
    netbox netbox_3_5 netbox_3_6;
  netbox2netshot = callPackage ../tools/admin/netbox2netshot { };