7 py = python3.override {
8 packageOverrides = self: super: {
9 emoji = super.emoji.overridePythonAttrs (oldAttrs: rec {
12 src = fetchFromGitHub {
16 sha256 = "sha256-vKQ51RP7uy57vP3dOnHZRSp/Wz+YDzeLUR8JnIELE/I=";
20 # Support for later tweepy releases is missing
21 # https://github.com/ranguli/ioccheck/issues/70
22 tweepy = super.tweepy.overridePythonAttrs (oldAttrs: rec {
25 src = fetchFromGitHub {
29 sha256 = "0k4bdlwjna6f1k19jki4xqgckrinkkw8b9wihzymr1l04rwd05nw";
38 buildPythonApplication rec {
40 version = "unstable-2021-09-29";
43 src = fetchFromGitHub {
46 rev = "db02d921e2519b77523a200ca2d78417802463db";
47 sha256 = "0lgqypcd5lzb2yqd5lr02pba24m26ghly4immxgz13svi8f6vzm9";
50 nativeBuildInputs = with py.pkgs; [
54 propagatedBuildInputs = with py.pkgs; [
69 checkInputs = with py.pkgs; [
74 # Can be removed with the next release
75 substituteInPlace pyproject.toml \
76 --replace '"hurry.filesize" = "^0.9"' "" \
77 --replace 'vt-py = ">=0.6.1,<0.8.0"' 'vt-py = ">=0.6.1"' \
78 --replace 'backoff = "^1.10.0"' 'backoff = ">=1.10.0"' \
79 --replace 'termcolor = "^1.1.0"' 'termcolor = "*"'
82 pythonImportsCheck = [
87 description = "Tool for researching IOCs";
88 homepage = "https://github.com/ranguli/ioccheck";
89 license = with licenses; [ mit ];
90 maintainers = with maintainers; [ fab ];