rabbit: remove, replaced by rabbit-ng

This commit is contained in:
Pol Dellaiera
2026-02-18 11:20:58 +01:00
parent c438d6791c
commit 3eab8602f3
2 changed files with 1 additions and 93 deletions
-93
View File
@@ -1,93 +0,0 @@
{
lib,
python3,
fetchFromGitHub,
fetchPypi,
}:
let
python3' = python3.override {
packageOverrides = self: super: {
scikit-learn =
let
version = "1.5.2";
in
super.scikit-learn.overridePythonAttrs (old: {
inherit version;
src = fetchPypi {
pname = "scikit_learn";
inherit version;
hash = "sha256-tCN+17P90KSIJ5LmjvJUXVuqUKyju0WqffRoE4rY+U0=";
};
# Preserve the postPatch for this scikit-learn version
postPatch = ''
substituteInPlace meson.build --replace-fail \
"run_command('sklearn/_build_utils/version.py', check: true).stdout().strip()," \
"'${version}',"
'';
# There are 2 tests that are failing, disabling the tests for now.
# - test_csr_polynomial_expansion_index_overflow[csr_array-False-True-2-65535]
# - test_csr_polynomial_expansion_index_overflow[csr_array-False-True-3-2344]
doCheck = false;
});
};
self = python3;
};
# Make sure to check for which version of scikit-learn this project was built
# Currently version 2.3.2 is made with scikit-learn 1.5.2
# Upgrading to newer versions of scikit-learn break the project
version = "2.3.2";
in
python3'.pkgs.buildPythonApplication {
pname = "rabbit";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "natarajan-chidambaram";
repo = "RABBIT";
tag = version;
hash = "sha256-icf42vqYPNH1v1wEv/MpqScqMUr/qDlcGoW9kPY2R6s=";
};
pythonRelaxDeps = [
"joblib"
"numpy"
"pandas"
"requests"
"scikit-learn"
"scipy"
"tqdm"
"urllib3"
];
build-system = with python3'.pkgs; [
setuptools
];
dependencies = with python3'.pkgs; [
joblib
numpy
pandas
python-dateutil
requests
scikit-learn
scipy
tqdm
urllib3
];
pythonImportsCheck = [ "rabbit" ];
meta = {
description = "Tool for identifying bot accounts based on their recent GitHub event history";
homepage = "https://github.com/natarajan-chidambaram/RABBIT";
license = lib.licenses.asl20;
mainProgram = "rabbit";
maintainers = [ ];
};
}
+1
View File
@@ -1644,6 +1644,7 @@ mapAliases {
qutebrowser-qt5 = lib.warnOnInstantiate "'qutebrowser-qt5' has been removed as it depended on vulnerable and outdated qt5 webengine" qutebrowser; # Added 2026-01-14
qv2ray = throw "'qv2ray' has been removed as it was unmaintained"; # Added 2025-06-03
ra-multiplex = lib.warnOnInstantiate "'ra-multiplex' has been renamed to/replaced by 'lspmux'" lspmux; # Added 2025-10-27
rabbit = throw "'rabbit' has been renamed to/replaced by 'rabbit-ng'"; # Added 2026-02-18
radiance = throw "'radiance' has been removed as it was broken for a long time"; # Added 2026-01-02
radicale3 = throw "'radicale3' has been renamed to/replaced by 'radicale'"; # Converted to throw 2025-10-27
railway-travel = throw "'railway-travel' has been renamed to/replaced by 'diebahn'"; # Converted to throw 2025-10-27