evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / iocsearcher / default.nix
blob26d3939d1772aeb2abd837ae7ab529abf2d15c54
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   fetchFromGitHub,
6   base58,
7   bech32,
8   cashaddress,
9   cbor,
10   eth-hash,
11   intervaltree,
12   langdetect,
13   lxml,
14   pdfminer-six,
15   phonenumbers,
16   python-magic,
17   readabilipy,
18   pythonOlder,
19   setuptools,
22 buildPythonPackage rec {
23   pname = "iocsearcher";
24   version = "1.0.0";
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 = [ setuptools ];
38   propagatedBuildInputs = [
39     base58
40     beautifulsoup4
41     bech32
42     cashaddress
43     cbor
44     eth-hash
45     intervaltree
46     langdetect
47     lxml
48     pdfminer-six
49     phonenumbers
50     python-magic
51     readabilipy
52   ] ++ eth-hash.optional-dependencies.pycryptodome;
54   # Module has no tests
55   doCheck = false;
57   pythonImportsCheck = [ "iocsearcher" ];
59   meta = with lib; {
60     description = "Library and command line tool for extracting indicators of compromise (IOCs)";
61     mainProgram = "iocsearcher";
62     homepage = "https://github.com/malicialab/iocsearcher";
63     changelog = "https://github.com/malicialab/iocsearcher/releases/tag/v${version}";
64     license = licenses.mit;
65     maintainers = with maintainers; [ fab ];
66   };