{
 "app_id": "io.github.ostapkonst.HashVerifier",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.ostapkonst.HashVerifier/master/io.github.ostapkonst.HashVerifier.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--filesystem=xdg-download",
  "--talk-name=org.freedesktop.FileManager1"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-19T15:27:22.810629+00:00",
 "manifest": {
  "app-id": "io.github.ostapkonst.HashVerifier",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "hashverifier",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.freedesktop.FileManager1",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download"
  ],
  "modules": [
   {
    "name": "hashverifier",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/golang/bin",
     "env": {
      "CGO_ENABLED": "1",
      "VERSION": "v2026.9.19"
     }
    },
    "build-commands": [
     "cp flatpak/modules.txt vendor && mv vendor src",
     "cd src && go build -trimpath -mod=vendor -ldflags=\"-s -w -X github.com/ostapkonst/HashVerifier/internal/appmeta.Version=${VERSION}\" -o hashverifier .",
     "install -Dm755 src/hashverifier ${FLATPAK_DEST}/bin/hashverifier",
     "install -Dm644 build/hashverifier.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "desktop-file-edit --set-icon=${FLATPAK_ID} --set-key=Exec --set-value=hashverifier ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 build/hashverifier.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 build/hashverifier-filetype.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/mimetypes/${FLATPAK_ID}-filetype.svg",
     "install -Dm644 flatpak/io.github.ostapkonst.HashVerifier-mime.xml ${FLATPAK_DEST}/share/mime/packages/${FLATPAK_ID}-mime.xml",
     "install -Dm644 flatpak/io.github.ostapkonst.HashVerifier.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 LICENSE ${FLATPAK_DEST}/share/licenses/${FLATPAK_ID}/LICENSE",
     "install -Dm644 THIRD_PARTY_NOTICES ${FLATPAK_DEST}/share/licenses/${FLATPAK_ID}/THIRD_PARTY_NOTICES"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ostapkonst/HashVerifier.git",
      "tag": "v2026.9.19",
      "commit": "325bd821c822cfe1cc51cdb3b7b9bccd9f7dbc9e"
     },
     {
      "dest": "vendor/github.com/coreos/go-systemd/v22",
      "sha256": "25c78b5dae5afa61291a8559328007cc77e60dd6747454af5c83423c26cfdfba",
      "strip-components": 4,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/coreos/go-systemd/v22/@v/v22.7.0.zip"
     },
     {
      "dest": "vendor/github.com/dimchansky/utfbom",
      "sha256": "0c1a11101602d5f57ac3e790c0b72e09ff87d8d535535f43fbee9e6a42327350",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/dimchansky/utfbom/@v/v1.1.1.zip"
     },
     {
      "dest": "vendor/github.com/godbus/dbus/v5",
      "sha256": "5c6f37c725a481fb0f1e7866ae273429525d8cc6a6cace87da28e53370f5596a",
      "strip-components": 4,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/godbus/dbus/v5/@v/v5.2.2.zip"
     },
     {
      "dest": "vendor/github.com/gotk3/gotk3",
      "sha256": "61a2d027cea272dbbcebb5ac6114fd3230cac6e54b16451c3597db3961b64380",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/gotk3/gotk3/@v/v0.6.1.zip"
     },
     {
      "dest": "vendor/github.com/inhies/go-bytesize",
      "sha256": "58bdba8f721840cd401529022a3019d02e68e996da678a2a705919329f5ac232",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/inhies/go-bytesize/@v/v0.0.0-20220417184213-4913239db9cf.zip"
     },
     {
      "dest": "vendor/github.com/karrick/godirwalk",
      "sha256": "4b03e8c1cd90d22a2c273a1efc9a2489ae4cffe91c9f399e60c2e145020b38d6",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/karrick/godirwalk/@v/v1.16.2.zip"
     },
     {
      "dest": "vendor/github.com/kballard/go-shellquote",
      "sha256": "ae4cb7b097dc4eb0c248dff00ed3bbf0f36984c4162ad1d615266084e58bd6cc",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/kballard/go-shellquote/@v/v0.0.0-20180428030007-95032a82bc51.zip"
     },
     {
      "dest": "vendor/github.com/lithammer/dedent",
      "sha256": "4ec56a3fef0d7dd1536046e540827e60419a935dde49d87d21f5856174cadba2",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/lithammer/dedent/@v/v1.1.0.zip"
     },
     {
      "dest": "vendor/github.com/rs/zerolog",
      "sha256": "91ae94de887e861afc3c9aff30a0ec3b7563c1d330fe2f619dd16b1b51684d2f",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/rs/zerolog/@v/v1.35.1.zip"
     },
     {
      "dest": "vendor/github.com/spf13/cobra",
      "sha256": "a00aae6fcd631e0fde52c98604452ff70e1b73c3b8a560d68db15aff5e26872d",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/spf13/cobra/@v/v1.10.2.zip"
     },
     {
      "dest": "vendor/github.com/zeebo/xxh3",
      "sha256": "0cd36657902317f81f3d31b217ebaca6f98dfb665f1af611d1db0904a689bcd1",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/zeebo/xxh3/@v/v1.1.0.zip"
     },
     {
      "dest": "vendor/golang.org/x/crypto",
      "sha256": "0660bba47b3643fe1beb1b97af93b6a4d2bf2ed069d9e52a2b1bdf6f17cf3e79",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/golang.org/x/crypto/@v/v0.55.0.zip"
     },
     {
      "dest": "vendor/golang.org/x/sys",
      "sha256": "cdac013ddced0262926ec29ffcda645da39670e61c7e5b761e572b6b1809bb1b",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/golang.org/x/sys/@v/v0.47.0.zip"
     },
     {
      "dest": "vendor/gopkg.in/yaml.v3",
      "sha256": "aab8fbc4e6300ea08e6afe1caea18a21c90c79f489f52c53e2f20431f1a9a015",
      "strip-components": 2,
      "type": "archive",
      "url": "https://proxy.golang.org/gopkg.in/yaml.v3/@v/v3.0.1.zip"
     },
     {
      "dest": "vendor/lukechampine.com/blake3",
      "sha256": "b3a3338a6e830b79fb2ff1d263f07f3fe0adcfbafd04b65e5fe14415613e2e4d",
      "strip-components": 2,
      "type": "archive",
      "url": "https://proxy.golang.org/lukechampine.com/blake3/@v/v1.4.1.zip"
     },
     {
      "dest": "vendor/github.com/inconshreveable/mousetrap",
      "sha256": "526674de624d7db108cfe7653ef110ccdfd97bc85026254224815567928ed243",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/inconshreveable/mousetrap/@v/v1.1.0.zip"
     },
     {
      "dest": "vendor/github.com/klauspost/cpuid/v2",
      "sha256": "4e0c1281558514efccc2cc3ab78d430426486fe9101d6dcc9a1b090e05c26c69",
      "strip-components": 4,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/klauspost/cpuid/v2/@v/v2.4.0.zip"
     },
     {
      "dest": "vendor/github.com/mattn/go-colorable",
      "sha256": "221144f51cc5eeda0a72bd7b5832181b94240c1d760bde0b3428895e63e63339",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/mattn/go-colorable/@v/v0.1.15.zip"
     },
     {
      "dest": "vendor/github.com/mattn/go-isatty",
      "sha256": "4fcffec0bae0ad4af7bf96e2497a817d85de64af19ffe31d82bda362148234b8",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/mattn/go-isatty/@v/v0.0.24.zip"
     },
     {
      "dest": "vendor/github.com/spf13/pflag",
      "sha256": "a246b8c9d3daa87d6c634cdfee1bdf7fa53d5817eeef4fa0c6da43edd12de4ca",
      "strip-components": 3,
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/spf13/pflag/@v/v1.0.10.zip"
     }
    ]
   }
  ]
 }
}