nixpkgs/pkgs/by-name/ra/rabbit/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
922 B
Nix
Raw Normal View History

2024-03-30 11:18:11 +00:00
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "rabbit";
version = "2.3.1";
2024-03-30 11:18:11 +00:00
pyproject = true;
src = fetchFromGitHub {
owner = "natarajan-chidambaram";
repo = "RABBIT";
2024-04-01 02:26:31 +00:00
rev = "refs/tags/${version}";
hash = "sha256-QmP6yfVnlYoNVa4EUtKR9xbCnQW2V6deV0+hN9IGtic=";
2024-03-30 11:18:11 +00:00
};
2024-07-25 14:37:46 +00:00
pythonRelaxDeps = [
"numpy"
];
2024-03-30 11:18:11 +00:00
build-system = with python3.pkgs; [
setuptools
2024-03-30 11:18:11 +00:00
];
dependencies = with python3.pkgs; [
joblib
2024-03-30 11:18:11 +00:00
numpy
pandas
2024-06-22 17:11:46 +00:00
python-dateutil
2024-03-30 11:18:11 +00:00
requests
scikit-learn
scipy
tqdm
2024-06-22 17:11:46 +00:00
urllib3
2024-03-30 11:18:11 +00:00
];
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 = with lib.maintainers; [ drupol ];
};
}