ioccheck: drop (#422952)
This commit is contained in:
@@ -1,106 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
let
|
||||
py = python3.override {
|
||||
self = py;
|
||||
packageOverrides = self: super: {
|
||||
emoji = super.emoji.overridePythonAttrs rec {
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "carpedm20";
|
||||
repo = "emoji";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vKQ51RP7uy57vP3dOnHZRSp/Wz+YDzeLUR8JnIELE/I=";
|
||||
};
|
||||
};
|
||||
|
||||
# Support for later tweepy releases is missing
|
||||
# https://github.com/ranguli/ioccheck/issues/70
|
||||
tweepy = super.tweepy.overridePythonAttrs rec {
|
||||
version = "3.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tweepy";
|
||||
repo = "tweepy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3BbQeCaAhlz9h5GnhficNubJHu4kTpnCDM4oKzlti0w=";
|
||||
};
|
||||
doCheck = false;
|
||||
dependencies =
|
||||
with self;
|
||||
[
|
||||
requests
|
||||
requests-oauthlib
|
||||
six
|
||||
]
|
||||
++ requests.optional-dependencies.socks;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
py.pkgs.buildPythonApplication {
|
||||
pname = "ioccheck";
|
||||
version = "unstable-2021-09-29";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ranguli";
|
||||
repo = "ioccheck";
|
||||
rev = "db02d921e2519b77523a200ca2d78417802463db";
|
||||
hash = "sha256-qf5tHIpbj/BfrzUST+EzohKh1hUg09KwF+vT0tj1+FE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with py.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"backoff"
|
||||
"pyfiglet"
|
||||
"tabulate"
|
||||
"termcolor"
|
||||
"vt-py"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with py.pkgs; [
|
||||
backoff
|
||||
click
|
||||
emoji
|
||||
jinja2
|
||||
pyfiglet
|
||||
ratelimit
|
||||
requests
|
||||
shodan
|
||||
tabulate
|
||||
termcolor
|
||||
tweepy
|
||||
vt-py
|
||||
];
|
||||
|
||||
nativeCheckInputs = with py.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Can be removed with the next release
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"hurry.filesize" = "^0.9"' ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ioccheck"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for researching IOCs";
|
||||
mainProgram = "ioccheck";
|
||||
homepage = "https://github.com/ranguli/ioccheck";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -930,6 +930,7 @@ mapAliases {
|
||||
inotifyTools = inotify-tools;
|
||||
insync-emblem-icons = throw "'insync-emblem-icons' has been removed, use 'insync-nautilus' instead"; # Added 2025-05-14
|
||||
inter-ui = throw "'inter-ui' has been renamed to/replaced by 'inter'"; # Converted to throw 2024-10-17
|
||||
ioccheck = throw "ioccheck was dropped since it was unmaintained."; # Added 2025-07-06
|
||||
ipfs = kubo; # Added 2022-09-27
|
||||
ipfs-migrator-all-fs-repo-migrations = kubo-fs-repo-migrations; # Added 2022-09-27
|
||||
ipfs-migrator-unwrapped = kubo-migrator-unwrapped; # Added 2022-09-27
|
||||
|
||||
Reference in New Issue
Block a user