Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / iocsearcher / default.nix
bloba485e3df6219cb530d3de1c1ff2b9f96af0c44ff
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , fetchFromGitHub
5 , base58
6 , bech32
7 , cashaddress
8 , cbor
9 , eth-hash
10 , intervaltree
11 , langdetect
12 , lxml
13 , pdfminer-six
14 , phonenumbers
15 , python-magic
16 , readabilipy
17 , pytestCheckHook
18 , pythonOlder
19 , setuptools
22 buildPythonPackage rec {
23   pname = "iocsearcher";
24   version = "2.3-unstable-2024-03-04";
25   pyproject = true;
27   disabled = pythonOlder "3.7";
29   src = fetchFromGitHub {
30     owner = "malicialab";
31     repo = "iocsearcher";
32     rev = "5f7b87761f2195eb358006f3492f0beac7ecc4b0";
33     hash = "sha256-SYh0+JEZa95iBznNzXut/9Vwof6VFeSlt0/g+XmMPC0=";
34   };
36   nativeBuildInputs = [
37     setuptools
38   ];
40   propagatedBuildInputs = [
41     base58
42     beautifulsoup4
43     bech32
44     cashaddress
45     cbor
46     eth-hash
47     intervaltree
48     langdetect
49     lxml
50     pdfminer-six
51     phonenumbers
52     python-magic
53     readabilipy
54   ] ++ eth-hash.optional-dependencies.pycryptodome;
56   # Module has no tests
57   doCheck = false;
59   pythonImportsCheck = [
60     "iocsearcher"
61   ];
63   meta = with lib; {
64     description = "Library and command line tool for extracting indicators of compromise (IOCs)";
65     mainProgram = "iocsearcher";
66     homepage = "https://github.com/malicialab/iocsearcher";
67     changelog = "https://github.com/malicialab/iocsearcher/releases/tag/v${version}";
68     license = licenses.mit;
69     maintainers = with maintainers; [ fab ];
70   };