From e233cae76072a772008b9062f12f0d1f2d98a940 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 26 Jan 2025 21:03:56 +0100 Subject: [PATCH] anevicon: remove According to the Wayback Machine upstream has been gone since at least November 2023. --- pkgs/tools/networking/anevicon/default.nix | 48 ---------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 -- 3 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 pkgs/tools/networking/anevicon/default.nix diff --git a/pkgs/tools/networking/anevicon/default.nix b/pkgs/tools/networking/anevicon/default.nix deleted file mode 100644 index 5aaec8d47fd6..000000000000 --- a/pkgs/tools/networking/anevicon/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - fetchpatch, - rustPlatform, - libiconv, - Security, -}: - -rustPlatform.buildRustPackage rec { - pname = "anevicon"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "rozgo"; - repo = pname; - rev = "v${version}"; - sha256 = "1m3ci7g7nn28p6x5m85av3ljgszwlg55f1hmgjnarc6bas5bapl7"; - }; - - cargoHash = "sha256-Id/vjne73w+bDVA8wT7fV1DMXeGtYbSAdwl07UfYJbw="; - - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ - libiconv - Security - ]; - - cargoPatches = [ - # Add Cargo.lock file, https://github.com/rozgo/anevicon/pull/1 - (fetchpatch { - name = "cargo-lock-file.patch"; - url = "https://github.com/rozgo/anevicon/commit/205440a0863aaea34394f30f4255fa0bb1704aed.patch"; - sha256 = "02syzm7irn4slr3s5dwwhvg1qx8fdplwlhza8gfkc6ajl7vdc7ri"; - }) - ]; - - # Tries to send large UDP packets that Darwin rejects. - doCheck = !stdenv.hostPlatform.isDarwin; - - meta = with lib; { - description = "UDP-based load generator"; - homepage = "https://github.com/rozgo/anevicon"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ fab ]; - mainProgram = "anevicon"; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index a0db6ec6d3fb..708d79b808c0 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -111,6 +111,7 @@ mapAliases { ao = libfive; # Added 2024-10-11 apacheKafka_3_5 = throw "apacheKafka_2_8 through _3_5 have been removed from nixpkgs as outdated"; # Added 2024-06-13 anbox = throw "'anbox' has been removed as the upstream project is unmaintained, see https://github.com/anbox/.github/blob/main/profile/README.md"; # Added 2025-01-04 + anevicon = throw "'anevicon' has been removed because the upstream repository no longer exists"; # Added 2025-01-26 antimicroX = throw "'antimicroX' has been renamed to/replaced by 'antimicrox'"; # Converted to throw 2024-10-17 apacheAnt = ant; # Added 2024-11-28 apple-sdk_10_12 = throw "apple-sdk_10_12 was removed as Nixpkgs no longer supports macOS 10.12; see the 25.05 release notes"; # Added 2024-10-27 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e4c00c5bcb56..c7b891052ce7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1908,10 +1908,6 @@ with pkgs; novacomd = callPackage ../development/mobile/webos/novacomd.nix { }; }; - anevicon = callPackage ../tools/networking/anevicon { - inherit (darwin.apple_sdk.frameworks) Security; - }; - aoc-cli = callPackage ../tools/misc/aoc-cli { inherit (darwin.apple_sdk.frameworks) Security; };