{
 "app_id": "com.github.sharkdp.Bat",
 "source_url": "https://raw.githubusercontent.com/vrutkovs/flatpak-bat/master/com.github.sharkdp.Bat.yaml",
 "runtime": "org.freedesktop.Sdk",
 "runtime_version": "20.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--filesystem=host"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T17:42:58.424684+00:00",
 "manifest": {
  "app-id": "com.github.sharkdp.Bat",
  "runtime": "org.freedesktop.Sdk",
  "runtime-version": "20.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-1dot50"
  ],
  "command": "bat",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--filesystem=host"
  ],
  "build-options": {
   "build-args": [
    "--share=network"
   ],
   "append-path": "/usr/lib/sdk/rust-1dot50/bin",
   "env": {
    "CARGO_HOME": "/run/build/bat/cargo"
   }
  },
  "modules": [
   {
    "name": "bat",
    "buildsystem": "simple",
    "build-commands": [
     "cargo build",
     "mkdir -p /app/bin",
     "cp target/debug/bat /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sharkdp/bat/archive/v0.18.0.tar.gz",
      "sha256": "49d1b95250050df47753c213b5e48953a029c9e74753cef371051b14c9d629b8"
     }
    ]
   },
   {
    "name": "appdata",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p ${FLATPAK_DEST}/share/appdata",
     "cp com.github.sharkdp.Bat.appdata.xml ${FLATPAK_DEST}/share/appdata",
     "appstream-compose --basename=com.github.sharkdp.Bat --prefix=${FLATPAK_DEST} --origin=flatpak com.github.sharkdp.Bat"
    ],
    "sources": [
     {
      "type": "file",
      "path": "com.github.sharkdp.Bat.appdata.xml"
     }
    ]
   }
  ]
 }
}