6 python3.pkgs.buildPythonApplication rec {
7 pname = "log4j-detect";
8 version = "unstable-2021-12-14";
11 src = fetchFromGitHub {
14 rev = "2f5b7a598a6d0b4aee8111bb574ea72c6a1c76d6";
15 sha256 = "sha256-fFKW7uPBfrnze0UoPL3Mfwd4sFOuHYuDP7kv6VtdM3o=";
18 propagatedBuildInputs = with python3.pkgs; [
23 sed -i "1 i #!/usr/bin/python" ${pname}.py
28 install -vD ${pname}.py $out/bin/${pname}
33 description = "Tool to detect the log4j vulnerability";
34 homepage = "https://github.com/takito1812/log4j-detect";
35 license = licenses.unfree;
36 maintainers = with maintainers; [ fab ];