From 411e50709ad0542b62cc16cf3c22c2de430f0c8d Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Thu, 2 Jun 2022 12:49:40 +0000 Subject: [PATCH] mqtt-bench: remove --- pkgs/applications/misc/mqtt-bench/default.nix | 32 ------------------- pkgs/applications/misc/mqtt-bench/deps.nix | 21 ------------ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 4 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 pkgs/applications/misc/mqtt-bench/default.nix delete mode 100644 pkgs/applications/misc/mqtt-bench/deps.nix diff --git a/pkgs/applications/misc/mqtt-bench/default.nix b/pkgs/applications/misc/mqtt-bench/default.nix deleted file mode 100644 index 657ac9645deb..000000000000 --- a/pkgs/applications/misc/mqtt-bench/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, buildGoPackage, fetchFromGitHub, fetchpatch }: - -buildGoPackage rec { - pname = "mqtt-bench"; - version = "0.3.0"; - rev = "v${version}"; - - goPackagePath = "github.com/takanorig/mqtt-bench"; - - src = fetchFromGitHub { - inherit rev; - owner = "takanorig"; - repo = "mqtt-bench"; - sha256 = "03b9ak2j303iwq6abd7j10f2cs2ianwnbflwmyx9g96i7zd74f5m"; - }; - - patches = [ - (fetchpatch { - url = "https://patch-diff.githubusercontent.com/raw/takanorig/mqtt-bench/pull/13.patch"; - name = "mqtt-paho-changes.patch"; - sha256 = "17c8ajrp5dmbsasj6njxrlhy0x08b65fignzm3yccqbhb4ijcvha"; - }) - ]; - - goDeps = ./deps.nix; - - meta = with lib; { - description = "Mosquitto benchmark tool"; - homepage = "https://github.com/takanorig/mqtt-bench"; - maintainers = with maintainers; [ disassembler ]; - }; -} diff --git a/pkgs/applications/misc/mqtt-bench/deps.nix b/pkgs/applications/misc/mqtt-bench/deps.nix deleted file mode 100644 index d93d3c468145..000000000000 --- a/pkgs/applications/misc/mqtt-bench/deps.nix +++ /dev/null @@ -1,21 +0,0 @@ -# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 -[ - { - goPackagePath = "github.com/eclipse/paho.mqtt.golang"; - fetch = { - type = "git"; - url = "https://github.com/eclipse/paho.mqtt.golang"; - rev = "65f43bda5f7edbbf6b7533d3a5a13b2c67cf3545"; - sha256 = "1ad136xf78br599ya43j45f8dycjip1k0hkplayy1slg8ckwrhdr"; - }; - } - { - goPackagePath = "golang.org/x/net"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/net"; - rev = "8351a756f30f1297fe94bbf4b767ec589c6ea6d0"; - sha256 = "0b6m579i3wrx1m69mqkdng5gjfssprxx0pg45kzrdi68sh0zr5d1"; - }; - } -] diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 921827488255..bb654207ecd4 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -856,6 +856,7 @@ mapAliases ({ mpc_cli = mpc-cli; # moved from top-level 2022-01-24 mpd_clientlib = libmpdclient; # Added 2021-02-11 mpich2 = throw "'mpich2' has been renamed to/replaced by 'mpich'"; # Converted to throw 2022-02-22 + mqtt-bench = throw "mqtt-bench has been dropped due to the lack of maintenance from upstream since 2017"; # Added 2022-06-02 msf = throw "'msf' has been renamed to/replaced by 'metasploit'"; # Converted to throw 2022-02-22 multimc = throw "multimc was removed from nixpkgs; use polymc instead (see https://github.com/NixOS/nixpkgs/pull/154051 for more information)"; # Added 2022-01-08 mumble_git = pkgs.mumble; # Added 2019-08-01 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 68c03ac3d468..8f6442703a5a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19670,8 +19670,6 @@ with pkgs; mpeg2dec = libmpeg2; - mqtt-bench = callPackage ../applications/misc/mqtt-bench {}; - mqttui = callPackage ../tools/networking/mqttui { inherit (darwin.apple_sdk.frameworks) Security; };