{
 "app_id": "com.jwestall.Forecast",
 "source_url": "https://raw.githubusercontent.com/flathub/com.jwestall.Forecast/master/com.jwestall.Forecast.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-config/cosmic",
  "--talk-name=com.system76.CosmicSettingsDaemon"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:08:12.246867+00:00",
 "manifest": {
  "id": "com.jwestall.Forecast",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "cosmic-ext-forecast",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=com.system76.CosmicSettingsDaemon",
   "--filesystem=xdg-config/cosmic:rw"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "just",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm0755 just /app/bin/just"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "strip-components": 0,
      "dest-filename": "just.tar.gz",
      "url": "https://github.com/casey/just/releases/download/1.35.0/just-1.35.0-x86_64-unknown-linux-musl.tar.gz",
      "sha256": "c4172306e241bd175c07316156a610593fa2b687ac49418520a375605d7cead4",
      "only_arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "strip-components": 0,
      "dest-filename": "just.tar.gz",
      "url": "https://github.com/casey/just/releases/download/1.35.0/just-1.35.0-aarch64-unknown-linux-musl.tar.gz",
      "sha256": "a94c75426239fce8c1e7fdfccd20d60d987924f91ac45c843a14cd72d4d71e73",
      "only_arches": [
       "aarch64"
      ]
     }
    ]
   },
   {
    "name": "cosmic-icons",
    "buildsystem": "simple",
    "build-commands": [
     "sed -i \"s|prefix := '/usr'|prefix := '/app'|\" justfile",
     "just install"
    ],
    "sources": [
     {
      "type": "archive",
      "dest-filename": "cosmic-icons-epoch-1.0.0-alpha.1.tar.gz",
      "url": "https://github.com/pop-os/cosmic-icons/archive/refs/tags/epoch-1.0.0-alpha.1.tar.gz",
      "sha256": "20d1a184c0421501e7ed8761f6e6178c3e16c787373357dae1d4dc22b9109428"
     }
    ]
   },
   {
    "name": "forecast",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/forecast/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm0755 ./target/release/cosmic-ext-forecast /app/bin/cosmic-ext-forecast",
     "install -Dm0644 ./res/com.jwestall.Forecast.desktop /app/share/applications/com.jwestall.Forecast.desktop",
     "install -Dm0644 ./res/com.jwestall.Forecast.metainfo.xml /app/share/metainfo/com.jwestall.Forecast.metainfo.xml",
     "install -Dm0644 ./res/icons/hicolor/scalable/apps/com.jwestall.Forecast.svg /app/share/icons/hicolor/scalable/apps/com.jwestall.Forecast.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/cosmic-utils/forecast.git",
      "commit": "f4dca2317007bc3316b22456e36a76d50500ccc8"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}