torrentools: remove package (#396525)

authored by

Azat Bahawi and committed by
GitHub
ec67aa10 e5a00b67

+1 -138
-105
pkgs/tools/misc/torrenttools/default.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchFromGitHub, 5 - bencode, 6 - catch2, 7 - cli11, 8 - cmake, 9 - ctre, 10 - expected-lite, 11 - fmt, 12 - gsl-lite, 13 - howard-hinnant-date, 14 - yaml-cpp, 15 - ninja, 16 - nlohmann_json, 17 - openssl, 18 - re2, 19 - sigslot, 20 - }: 21 - 22 - stdenv.mkDerivation rec { 23 - pname = "torrenttools"; 24 - version = "0.6.2"; 25 - 26 - srcs = [ 27 - (fetchFromGitHub rec { 28 - owner = "fbdtemme"; 29 - repo = "torrenttools"; 30 - rev = "v${version}"; 31 - hash = "sha256-3rAxw4JM5ruOn0ccKnpdCnUWUPTQOUvRYz8OKU/FpJ8="; 32 - name = repo; 33 - }) 34 - (fetchFromGitHub rec { 35 - owner = "fbdtemme"; 36 - repo = "cliprogress"; 37 - rev = "a887519e360e44c1ef88ea4ef7df652ea049c502"; 38 - hash = "sha256-nVvzez5GB57qSj2SLaxdYlkSX8rRM06H2NnLQGCDWMg="; 39 - name = repo; 40 - }) 41 - (fetchFromGitHub rec { 42 - owner = "fbdtemme"; 43 - repo = "dottorrent"; 44 - rev = "38ac810d6bb3628fd3ce49150c9fb641bb5e78cd"; 45 - hash = "sha256-0H9h0Hud0Fd64lY0pxQ96coDOEDr5wh8v1sNT1lBxb0="; 46 - name = repo; 47 - }) 48 - (fetchFromGitHub rec { 49 - owner = "fbdtemme"; 50 - repo = "termcontrol"; 51 - rev = "c53eec4efe0e163871d9eb54dc074c25cd01abf0"; 52 - hash = "sha256-0j78QtEkhlssVivPl709o5Pf36TzhOZ6VHaqDiH0L0I="; 53 - name = repo; 54 - }) 55 - ]; 56 - sourceRoot = "torrenttools"; 57 - 58 - patches = [ 59 - ./fmt-9.patch 60 - ]; 61 - 62 - postUnpack = '' 63 - cp -pr cliprogress torrenttools/external/cliprogress 64 - cp -pr dottorrent torrenttools/external/dottorrent 65 - cp -pr termcontrol torrenttools/external/termcontrol 66 - chmod -R u+w -- "$sourceRoot" 67 - ''; 68 - 69 - nativeBuildInputs = [ 70 - cmake 71 - ninja 72 - ]; 73 - 74 - buildInputs = [ 75 - bencode 76 - catch2 77 - cli11 78 - ctre 79 - expected-lite 80 - fmt 81 - gsl-lite 82 - howard-hinnant-date 83 - yaml-cpp 84 - nlohmann_json 85 - openssl 86 - re2 87 - sigslot 88 - ]; 89 - 90 - cmakeFlags = [ 91 - "-DTORRENTTOOLS_BUILD_TESTS:BOOL=ON" 92 - "-DTORRENTTOOLS_TBB:BOOL=OFF" # Our TBB doesn't expose a CMake module. 93 - ]; 94 - 95 - doCheck = true; 96 - 97 - meta = with lib; { 98 - description = "CLI tool for creating, inspecting and modifying BitTorrent metafiles"; 99 - homepage = "https://github.com/fbdtemme/torrenttools"; 100 - license = licenses.mit; 101 - maintainers = with maintainers; [ azahi ]; 102 - platforms = platforms.unix; 103 - mainProgram = "torrenttools"; 104 - }; 105 - }
-29
pkgs/tools/misc/torrenttools/fmt-9.patch
··· 1 - diff --git a/include/file_matcher.hpp b/include/file_matcher.hpp 2 - index c10c7be405..b67baec0ef 100644 3 - --- a/include/file_matcher.hpp 4 - +++ b/include/file_matcher.hpp 5 - @@ -47,7 +47,7 @@ 6 - } 7 - 8 - std::string error; 9 - - std::string pattern = ".*.{}$"_format(extension); 10 - + std::string pattern = fmt::format(".*.{}$", extension); 11 - file_include_list_.Add(pattern, &error); 12 - file_include_list_empty_ = false; 13 - Ensures(error.empty()); 14 - @@ -62,7 +62,7 @@ 15 - } 16 - 17 - std::string error; 18 - - std::string pattern = ".*\\.{}$"_format(extension); 19 - + std::string pattern = fmt::format(".*\\.{}$", extension); 20 - file_exclude_list_.Add(pattern, &error); 21 - file_exclude_list_empty_ = false; 22 - Ensures(error.empty()); 23 - @@ -243,4 +243,4 @@ 24 - }; 25 - 26 - 27 - -} // namespace torrenttools 28 - \ No newline at end of file 29 - +} // namespace torrenttools
+1
pkgs/top-level/aliases.nix
··· 1706 1706 tokyo-night-gtk = tokyonight-gtk-theme; # Added 2024-01-28 1707 1707 tomcat_connectors = apacheHttpdPackages.mod_jk; # Added 2024-06-07 1708 1708 tor-browser-bundle-bin = tor-browser; # Added 2023-09-23 1709 + torrenttools = throw "torrenttools has been removed due to lack of maintanance upstream"; # Added 2025-04-06 1709 1710 torq = throw "torq has been removed because the project went closed source"; # Added 2024-11-24 1710 1711 transmission = lib.warnOnInstantiate (transmission3Warning { }) transmission_3; # Added 2024-06-10 1711 1712 transmission-gtk = lib.warnOnInstantiate (transmission3Warning {
-4
pkgs/top-level/all-packages.nix
··· 16431 16431 inherit (linuxPackages) x86_energy_perf_policy; 16432 16432 }; 16433 16433 16434 - torrenttools = callPackage ../tools/misc/torrenttools { 16435 - fmt = fmt_9; 16436 - }; 16437 - 16438 16434 tony = libsForQt5.callPackage ../applications/audio/tony { }; 16439 16435 16440 16436 trustedqsl = tqsl; # Alias added 2019-02-10