lol

log4shell-detector: unstable-2021-12-15 -> unstable-2021-12-16

+11 -6
+11 -6
pkgs/tools/security/log4shell-detector/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "log4shell-detector"; 8 - version = "unstable-2021-12-15"; 9 - format = "other"; 8 + version = "unstable-2021-12-16"; 9 + format = "setuptools"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Neo23x0"; 13 13 repo = pname; 14 - rev = "66d974af40049c0cab7b0d7f988e5d705031f3af"; 15 - sha256 = "sha256-wKNJWbnDPY3+k7RwEjJws1h4nIqL22Dr2m88CbJZ/rg="; 14 + rev = "622b88e7ea36819da23ce6ac090785cd6cca77f9"; 15 + sha256 = "sha256-N81x9hq473LfM+bQIQLWizCAsVc/pzyB84PV7/N5jk4="; 16 16 }; 17 17 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + zstandard 20 + ]; 21 + 18 22 checkInputs = with python3.pkgs; [ 19 23 pytestCheckHook 20 24 ]; ··· 22 26 installPhase = '' 23 27 runHook preInstall 24 28 install -vD ${pname}.py $out/bin/${pname} 29 + install -vd $out/${python3.sitePackages}/ 30 + cp -R Log4ShellDetector $out/${python3.sitePackages} 25 31 runHook postInstall 26 32 ''; 27 33 28 34 meta = with lib; { 29 35 description = "Detector for Log4Shell exploitation attempts"; 30 36 homepage = "https://github.com/Neo23x0/log4shell-detector"; 31 - # https://github.com/Neo23x0/log4shell-detector/issues/24 32 - license = licenses.unfree; 37 + license = licenses.mit; 33 38 maintainers = with maintainers; [ fab ]; 34 39 }; 35 40 }