From 743b5ec421e39cd48e6dd570bf55fcb9b5028e9d Mon Sep 17 00:00:00 2001 From: boredsquirrel Date: Tue, 26 May 2026 22:09:16 +0200 Subject: [PATCH] torrent7z: remove --- pkgs/by-name/to/torrent7z/package.nix | 58 --------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 pkgs/by-name/to/torrent7z/package.nix diff --git a/pkgs/by-name/to/torrent7z/package.nix b/pkgs/by-name/to/torrent7z/package.nix deleted file mode 100644 index 45177f77f1f0..000000000000 --- a/pkgs/by-name/to/torrent7z/package.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - fetchpatch, - ncurses, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "torrent7z"; - version = "1.3"; - - src = fetchFromGitHub { - owner = "BubblesInTheTub"; - repo = "torrent7z"; - rev = finalAttrs.version; - sha256 = "Y2tr0+z9uij4Ifi6FfWRN24BwcDXUZKVLkLtKUiVjU4="; - }; - - patches = [ - (fetchpatch { - name = "fix-gcc10-compilation.patch"; # Fix compilation on GCC 10. This patch is included on the latest commit - url = "https://github.com/paulyc/torrent7z/commit/5958f42a364c430b3ed4ac68911bbbea1f967fc4.patch"; - sha256 = "vJOv1sG9XwTvvxQiWew0H5ALoUb9wIAouzTsTvKHuPI="; - }) - ]; - - buildInputs = [ ncurses ]; - - hardeningDisable = [ "format" ]; - - postPatch = '' - # Remove non-free RAR source code - # (see DOC/License.txt, https://fedoraproject.org/wiki/Licensing:Unrar) - rm -r linux_src/p7zip_4.65/CPP/7zip/Compress/Rar* - find . -name makefile'*' -exec sed -i '/Rar/d' {} + - ''; - - preConfigure = '' - mkdir linux_src/p7zip_4.65/bin - cd linux_src/p7zip_4.65/CPP/7zip/Bundles/Alone - ''; - - installPhase = '' - mkdir -p $out/bin - cp ../../../../bin/t7z $out/bin - ''; - - meta = { - homepage = "https://github.com/BubblesInTheTub/torrent7z"; - description = "Fork of torrent7z, viz a derivative of 7zip that produces invariant .7z archives for torrenting"; - platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ cirno-999 ]; - mainProgram = "t7z"; - # RAR code is under non-free UnRAR license, but we remove it - license = lib.licenses.gpl3Only; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e707d6d9a618..12c1673a516d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2122,6 +2122,7 @@ mapAliases { tooling-language-server = deputy; # Added 2025-06-22 tor-browser-bundle-bin = throw "'tor-browser-bundle-bin' has been renamed to/replaced by 'tor-browser'"; # Converted to throw 2025-10-27 tora = throw "'tora' has been removed due to outdated KF5 dependencies."; # Added 2026-05-01 + torrent7z = throw "torrent7z is unmaintained and used a p7zip version from 2009. Consider using p7zip with the arguments to remove entropy instead"; # added 2026-05-09 tracker = throw "'tracker' has been renamed to/replaced by 'tinysparql'"; # Converted to throw 2025-10-27 tracker-miners = throw "'tracker-miners' has been renamed to/replaced by 'localsearch'"; # Converted to throw 2025-10-27 transfig = throw "'transfig' has been renamed to/replaced by 'fig2dev'"; # Converted to throw 2025-10-27