1 { lib, fetchFromGitHub, python3Packages }:
3 python3Packages.buildPythonApplication rec {
7 disabled = python3Packages.isPy27;
9 src = fetchFromGitHub {
13 hash = "sha256-NrhcUFQM+L66KaDRRpAoC+z5s54a+1fqEepTRXVZ5Qs=";
18 substituteInPlace setup.py \
19 --replace "'scripts': []" "'scripts': { '${pname}.py' }"
22 propagatedBuildInputs = with python3Packages; [
29 description = "Extract, defang, resolve names and IPs from text";
31 ipgrep extracts possibly obfuscated host names and IP addresses
32 from text, resolves host names, and prints them, sorted by ASN.
34 license = licenses.mit;
35 maintainers = with maintainers; [ leenaars ];
36 platforms = platforms.all;