nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 67 lines 1.3 kB view raw
1{ 2 lib, 3 base58, 4 beautifulsoup4, 5 bech32, 6 buildPythonPackage, 7 cashaddress, 8 cbor, 9 docx2python, 10 eth-hash, 11 fetchFromGitHub, 12 intervaltree, 13 langdetect, 14 lxml, 15 pdfminer-six, 16 phonenumbers, 17 python-magic, 18 readabilipy, 19 setuptools, 20}: 21 22buildPythonPackage rec { 23 pname = "iocsearcher"; 24 version = "2.5.7"; 25 pyproject = true; 26 27 src = fetchFromGitHub { 28 owner = "malicialab"; 29 repo = "iocsearcher"; 30 tag = "v${version}"; 31 hash = "sha256-qykPMtdGjys6d1cdP6cM/lmtU5WR/jk9tc9g+8uc31E="; 32 }; 33 34 build-system = [ setuptools ]; 35 36 dependencies = [ 37 base58 38 beautifulsoup4 39 bech32 40 cashaddress 41 cbor 42 docx2python 43 eth-hash 44 intervaltree 45 langdetect 46 lxml 47 pdfminer-six 48 phonenumbers 49 python-magic 50 readabilipy 51 ] 52 ++ eth-hash.optional-dependencies.pycryptodome; 53 54 # Module has no tests 55 doCheck = false; 56 57 pythonImportsCheck = [ "iocsearcher" ]; 58 59 meta = { 60 description = "Library and command line tool for extracting indicators of compromise (IOCs)"; 61 homepage = "https://github.com/malicialab/iocsearcher"; 62 changelog = "https://github.com/malicialab/iocsearcher/releases/tag/v${version}"; 63 license = lib.licenses.mit; 64 maintainers = with lib.maintainers; [ fab ]; 65 mainProgram = "iocsearcher"; 66 }; 67}