diff --git a/pkgs/by-name/sh/shallot/package.nix b/pkgs/by-name/sh/shallot/package.nix deleted file mode 100644 index c03097e20410..000000000000 --- a/pkgs/by-name/sh/shallot/package.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - fetchpatch, - openssl, -}: - -stdenv.mkDerivation rec { - pname = "shallot"; - version = "0.0.3"; - - src = fetchFromGitHub { - owner = "katmagic"; - repo = "Shallot"; - rev = "shallot-${version}"; - sha256 = "0cjafdxvjkwb9vyifhh11mw0la7yfqswqwqmrfp1fy9jl7m0il9k"; - }; - - buildInputs = [ openssl ]; - - patches = [ - (fetchpatch { - url = "https://github.com/katmagic/Shallot/commit/c913088dfaaaf249494514f20a62f2a17b5c6606.patch"; - sha256 = "19l1ppbxpdb0736f7plhybj08wh6rqk1lr3bxsp8jpzpnkh114b2"; - }) - (fetchpatch { - url = "https://github.com/katmagic/Shallot/commit/cd6628d97b981325e700a38f408a43df426fd569.patch"; - sha256 = "1gaffp5wp1l5p2qdk0ix3i5fhzpx4xphl0haa6ajhqn8db7hbr9y"; - }) - (fetchpatch { - url = "https://github.com/katmagic/Shallot/commit/5c7c1ccecbbad5a121c50ba7153cbbee7ee0ebf9.patch"; - sha256 = "1zmll4iqz39zwk8vj40n1dpvyq3403l64p2127gsjgh2l2v91s4k"; - }) - ]; - - # Workaround build failure on -fno-common toolchains like upstream - # gcc-10. Otherwise build fails as: - # ld: src/shallot.o:(.bss+0x8): multiple definition of `lucky_thread'; src/error.o:(.bss+0x8): first defined here - env.NIX_CFLAGS_COMPILE = "-fcommon"; - - installPhase = '' - mkdir -p $out/bin - cp ./shallot $out/bin/ - ''; - - meta = { - description = "Allows you to create customized .onion addresses for your hidden service"; - - license = lib.licenses.mit; - homepage = "https://github.com/katmagic/Shallot"; - platforms = lib.platforms.linux; - mainProgram = "shallot"; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 188b9707d517..c04c8484cb7f 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1386,6 +1386,7 @@ mapAliases { session-desktop-appimage = session-desktop; sequoia = sequoia-sq; # Added 2023-06-26 sexp = sexpp; # Added 2023-07-03 + shallot = throw "'shallot' has been removed as it is broken and the upstream repository was removed. Consider using 'mkp224o'"; # Added 2025-03-16 inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17 shell-hist = throw "'shell-hist' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 shipyard = jumppad; # Added 2023-06-06