bencode: drop (#508406)
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
catch2,
|
||||
cmake,
|
||||
expected-lite,
|
||||
fmt,
|
||||
gsl-lite,
|
||||
ninja,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bencode";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fbdtemme";
|
||||
repo = "bencode";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-zpxvADZfYTUdlNLMZJSCanPL40EGl9BBCxR7oDhvOTw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
catch2
|
||||
expected-lite
|
||||
fmt
|
||||
gsl-lite
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Disable a test that requires an internet connection.
|
||||
substituteInPlace tests/CMakeLists.txt \
|
||||
--replace "add_subdirectory(cmake_fetch_content)" ""
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall = ''
|
||||
rm -rf $out/lib64
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Header-only C++20 bencode serialization/deserialization library";
|
||||
homepage = "https://github.com/fbdtemme/bencode";
|
||||
changelog = "https://github.com/fbdtemme/bencode/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
# Broken because the default stdenv on these targets doesn't support C++20.
|
||||
broken = with stdenv; isDarwin || (isLinux && isAarch64);
|
||||
};
|
||||
})
|
||||
@@ -372,6 +372,7 @@ mapAliases {
|
||||
belcard = throw "'belcard' has been moved to 'linphonePackages.belcard'"; # Added 2025-09-20
|
||||
belle-sip = throw "'belle-sip' has been moved to 'linphonePackages.belle-sip'"; # Added 2025-09-20
|
||||
belr = throw "'belr' has been moved to 'linphonePackages.belr'"; # Added 2025-09-20
|
||||
bencode = throw "'bencode' has been removed because it is unmaintained upstream"; # Added 2026-04-09
|
||||
bfc = throw "bfc has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10
|
||||
bfr = throw "bfr has been removed, did not update since 2004, fails to build on gcc-15, no homepage"; # Added 2026-01-28
|
||||
bindle = throw "bindle has been removed since it is vulnerable to CVE-2025-62518 and upstream has been archived"; # Added 2025-10-24
|
||||
|
||||
Reference in New Issue
Block a user