7 python3.pkgs.buildPythonApplication rec {
9 version = "0-unstable-2022-09-26";
12 src = fetchFromGitHub {
15 # https://github.com/jonny1102/nmap-parse/issues/12
16 rev = "ae270ac9ce05bfbe822dbbb29411adf562d40abf";
17 hash = "sha256-iaE4a5blbDPaKPRnR46+AfegXOEW88i+z/VIVGCepeM=";
20 propagatedBuildInputs = with python3.pkgs; [
31 install -Dm 755 "nmap-parse.py" "$out/bin/nmap-parse"
33 install -vd $out/${python3.sitePackages}/
34 cp -R modules $out/${python3.sitePackages}
39 # Project has no tests
43 description = "Command line nmap XML parser";
44 homepage = "https://github.com/jonny1102/nmap-parse";
45 license = licenses.mit;
46 maintainers = with maintainers; [ fab ];
47 mainProgram = "nmap-parse";