{
 "app_id": "org.nmap.Zenmap",
 "source_url": "https://raw.githubusercontent.com/flathub/org.nmap.Zenmap/master/org.nmap.Zenmap.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:16:10.199459+00:00",
 "manifest": {
  "app-id": "org.nmap.Zenmap",
  "runtime": "org.gnome.Platform",
  "sdk": "org.gnome.Sdk",
  "runtime-version": "49",
  "command": "zenmap.sh",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--share=network",
   "--filesystem=home",
   "--env=TMPDIR=/var/tmp"
  ],
  "cleanup": [
   "/man",
   "/include",
   "/share/man",
   "/share/doc",
   "/lib/*.a",
   "/lib/*.la"
  ],
  "modules": [
   {
    "name": "zenmap",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://nmap.org/dist/nmap-7.94.tar.bz2",
      "sha256": "d71be189eec43d7e099bac8571509d316c4577ca79491832ac3e1217bc8f92cc",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2096,
       "url-template": "https://nmap.org/dist/nmap-$version.tar.bz2"
      }
     },
     {
      "type": "patch",
      "path": "dialog.patch"
     }
    ]
   },
   {
    "name": "metadata",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm 644 org.nmap.Zenmap.metainfo.xml -t /app/share/metainfo/",
     "install -Dm 644 org.nmap.Zenmap.desktop -t /app/share/applications/",
     "install -Dm 644 org.nmap.Zenmap.64.png /app/share/icons/hicolor/64x64/apps/org.nmap.Zenmap.png",
     "install -Dm 644 org.nmap.Zenmap.128.png /app/share/icons/hicolor/128x128/apps/org.nmap.Zenmap.png",
     "install -Dm 644 org.nmap.Zenmap.256.png /app/share/icons/hicolor/256x256/apps/org.nmap.Zenmap.png",
     "install -Dm 755 zenmap.sh /app/bin/zenmap.sh"
    ],
    "sources": [
     {
      "type": "file",
      "path": "org.nmap.Zenmap.metainfo.xml"
     },
     {
      "type": "file",
      "path": "org.nmap.Zenmap.64.png"
     },
     {
      "type": "file",
      "path": "org.nmap.Zenmap.128.png"
     },
     {
      "type": "file",
      "path": "org.nmap.Zenmap.256.png"
     },
     {
      "type": "file",
      "path": "org.nmap.Zenmap.desktop"
     },
     {
      "type": "file",
      "path": "zenmap.sh"
     }
    ]
   }
  ]
 }
}