{
 "app_id": "com.protonvpn.www",
 "source_url": "https://raw.githubusercontent.com/flathub/com.protonvpn.www/master/com.protonvpn.www.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=all",
  "--filesystem=/var/log/journal:ro",
  "--filesystem=~/.cert:create",
  "--filesystem=~/.cert/nm-openvpn",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.secrets",
  "--own-name=proton.vpn.app.gtk",
  "--system-talk-name=org.freedesktop.NetworkManager",
  "--system-talk-name=org.freedesktop.login1"
 ],
 "module_count": 43,
 "fetched_at": "2026-09-18T07:20:47.775857+00:00",
 "manifest": {
  "id": "com.protonvpn.www",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "protonvpn-app",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--talk-name=org.freedesktop.secrets",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--filesystem=~/.cert/nm-openvpn/",
   "--filesystem=~/.cert:create",
   "--filesystem=/var/log/journal:ro",
   "--system-talk-name=org.freedesktop.login1",
   "--own-name=proton.vpn.app.gtk",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--device=all"
  ],
  "modules": [
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "python3-packaging",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"packaging\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl",
      "sha256": "29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484"
     }
    ],
    "modules": [
     {
      "name": "python3-toml",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"toml\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz",
        "sha256": "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f",
        "x-checker-data": {
         "type": "pypi",
         "name": "toml"
        }
       }
      ]
     }
    ]
   },
   {
    "name": "python-typing-extensions",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz",
      "sha256": "0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"
     }
    ],
    "modules": [
     {
      "name": "python3-flit_core",
      "buildsystem": "simple",
      "cleanup": [
       "*"
      ],
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"flit_core\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz",
        "sha256": "18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2"
       }
      ]
     }
    ]
   },
   {
    "name": "python3-bcrypt",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/python3-bcrypt/cargo",
      "CARGO_NET_OFFLINE": "true",
      "RUST_BACKTRACE": "1"
     }
    },
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"bcrypt\" --no-build-isolation"
    ],
    "modules": [
     {
      "name": "python3-flit_core",
      "buildsystem": "simple",
      "cleanup": [
       "*"
      ],
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"flit_core\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz",
        "sha256": "18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2"
       }
      ]
     },
     {
      "name": "python3-poetry-core",
      "buildsystem": "simple",
      "cleanup": [
       "*"
      ],
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"poetry-core\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/e9/2a/457e29bd71c4fdce5dbd032ad02cb80300db355d084cd3fa81a367d22f0c/poetry_core-2.3.0.tar.gz",
        "sha256": "f6da8f021fe380d8c9716085f4dcc5d26a5120a2452e077196333892af5de307"
       }
      ]
     },
     {
      "name": "python3-setuptools_scm",
      "buildsystem": "simple",
      "cleanup": [
       "*"
      ],
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"setuptools_scm\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/fc/e7/01c03c7bf28e353812dccc22d3b9629ea71c88edd64c8452601ecc64b189/vcs_versioning-2.4.0-py3-none-any.whl",
        "sha256": "874a70bcd196b956a105852074554f498554d75399904fb1024002af79ad396c",
        "x-checker-data": {
         "name": "vcs-versioning",
         "packagetype": "bdist_wheel",
         "type": "pypi"
        }
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl",
        "sha256": "f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl",
        "sha256": "f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30"
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/3d/ea/ac2bf868899d0d2e82ef72d350d97a846110c709bacf2d968431576ca915/setuptools_scm-9.2.2-py3-none-any.whl",
        "sha256": "30e8f84d2ab1ba7cb0e653429b179395d0c33775d54807fc5f1dd6671801aef7"
       }
      ]
     },
     {
      "name": "python3-setuptools_rust",
      "buildsystem": "simple",
      "cleanup": [
       "*"
      ],
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"setuptools_rust\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/7d/31/f2289ce78b9b473d582568c234e104d2a342fd658cc288a7553d83bb8595/semantic_version-2.10.0.tar.gz",
        "sha256": "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c"
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/68/ba/b31781d61bf9ee3c232a1d1160db11c11cdeae1d44e06c90723b25a8279f/setuptools_rust-1.13.0.tar.gz",
        "sha256": "f2afcf4baeee689910ce49cfa8aad4e08cce72f417449bcc32891b8664fdc726"
       }
      ]
     }
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/bb/5d/6d7433e0f3cd46ce0b43cd65e1db465ea024dbb8216fb2404e919c2ad77b/bcrypt-4.3.0.tar.gz",
      "sha256": "3a3fd2204178b6d2adcf09cb4f6426ffef54762577a7c9b54c159008cb288c18"
     },
     "bcrypt-cargo-sources.json"
    ]
   },
   {
    "name": "libndp",
    "buildsystem": "autotools",
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jpirko/libndp/archive/v1.9.tar.gz",
      "sha256": "e564f5914a6b1b799c3afa64c258824a801c1b79a29e2fe6525b682249c65261"
     }
    ]
   },
   {
    "name": "polkit",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibs-only=true",
     "-Dman=false",
     "-Dintrospection=false",
     "-Dexamples=false",
     "-Dgtk_doc=false",
     "-Dauthfw=shadow"
    ],
    "cleanup": [
     "/bin/*",
     "/etc/pam.d",
     "/etc/dbus-1",
     "/share/dbus-1/system-services/*",
     "/share/polkit-1",
     "/share/polkit-1/actions/*",
     "/lib/polkit-1",
     "/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/polkit-org/polkit/archive/refs/tags/127.tar.gz",
      "sha256": "9b7bc16f086479dcc626c575976568ba4a85d34297a750d8ab3d2e57f6d8b988"
     }
    ]
   },
   {
    "name": "NetworkManager",
    "buildsystem": "meson",
    "build-options": {
     "cflags": "-ltinfo",
     "cxxflags": "-ltinfo"
    },
    "config-opts": [
     "-Dsystemdsystemunitdir=no",
     "-Ddbus_conf_dir=/app/etc/dbus-1/system.d",
     "-Diptables=/usr/bin/true",
     "-Ddnsmasq=/usr/bin/true",
     "-Dsession_tracking=no",
     "-Dselinux=false",
     "-Dsystemd_journal=false",
     "-Dlibaudit=no",
     "-Dwext=false",
     "-Dwifi=false",
     "-Dppp=false",
     "-Dmodem_manager=false",
     "-Dovs=false",
     "-Dnmcli=false",
     "-Dnmtui=false",
     "-Dintrospection=true",
     "-Dvapi=false",
     "-Ddocs=false",
     "-Dtests=no",
     "-Dfirewalld_zone=false",
     "-Dlibpsl=false",
     "-Dqt=false"
    ],
    "cleanup": [
     "/sbin",
     "/etc",
     "/include",
     "/lib/pkgconfig",
     "/libexec",
     "/var",
     "/share/bash-completion",
     "/share/doc"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git",
      "tag": "1.40.18",
      "commit": "2db3748ec8162ce948ba52f71b42a258ff8d64ba",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 21197,
       "stable-only": true,
       "tag-template": "$version",
       "versions": {
        "<": "1.42.0"
       }
      }
     },
     {
      "type": "patch",
      "path": "patches/NetworkManager/disable-ownership-check-for-plugins.patch"
     }
    ]
   },
   {
    "name": "libnma",
    "buildsystem": "meson",
    "config-opts": [
     "-Dmobile_broadband_provider_info=false",
     "-Dgtk_doc=false",
     "-Dintrospection=false",
     "-Dvapi=false"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.gnome.org/GNOME/libnma/-/archive/1.10.6/libnma-1.10.6.tar.gz",
      "sha256": "c88fd3408c4ff166b06179b5ce5186e08a57b64eb8c9b22e055ca0dbc5e8002b"
     }
    ]
   },
   {
    "name": "NetworkManager-openvpn",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/NetworkManager/NetworkManager-openvpn.git",
      "tag": "1.10.2",
      "commit": "ae9575dd07cc2d2d51ec8d0297823e07017cb6e6",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 69977,
       "stable-only": true,
       "tag-template": "$version",
       "versions": {
        "<": "1.10.4"
       }
      }
     }
    ]
   },
   {
    "name": "systemd",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib",
     "-Dsysconfdir=/app/etc",
     "-Ddocdir=/app/share/doc",
     "-Dsysvinit-path=/app/etc/init.d",
     "-Dfdisk=false",
     "-Ddbus=false",
     "-Dutmp=false",
     "-Dhibernate=false",
     "-Dldconfig=false",
     "-Dresolve=false",
     "-Defi=false",
     "-Dtpm=false",
     "-Denvironment-d=false",
     "-Dbinfmt=false",
     "-Dcoredump=false",
     "-Dlogind=false",
     "-Dhostnamed=false",
     "-Dlocaled=false",
     "-Dmachined=false",
     "-Dportabled=false",
     "-Dnetworkd=false",
     "-Dtimedated=false",
     "-Dtimesyncd=false",
     "-Dremote=false",
     "-Dnss-myhostname=false",
     "-Dnss-mymachines=false",
     "-Dnss-resolve=false",
     "-Dnss-systemd=false",
     "-Dfirstboot=false",
     "-Drandomseed=false",
     "-Dbacklight=false",
     "-Dvconsole=false",
     "-Dquotacheck=false",
     "-Dsysusers=false",
     "-Dtmpfiles=false",
     "-Dimportd=false",
     "-Dhwdb=false",
     "-Drfkill=false",
     "-Dman=false",
     "-Dhtml=false",
     "-Dbashcompletiondir=no",
     "-Dzshcompletiondir=no"
    ],
    "cleanup": [
     "/etc",
     "/lib/libudev*",
     "/lib/kernel",
     "/lib/modprobe.d",
     "/lib/rpm",
     "/lib/sysctl.d",
     "/lib/udev",
     "/app/share/doc",
     "/share/dbus-1",
     "/share/doc",
     "/share/factory",
     "/share/glib-2.0",
     "/share/icons",
     "/share/man",
     "/share/pkgconfig",
     "/share/polkit-1",
     "/share/runtime"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/systemd/systemd.git",
      "tag": "v259.5",
      "commit": "b3d8fc43e9cb531d958c17ef2cd93b374bc14e8a"
     }
    ],
    "modules": [
     {
      "name": "python3-pefile",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pefile\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/03/4f/2750f7f6f025a1507cd3b7218691671eecfd0bbebebe8b39aa0fe1d360b8/pefile-2024.8.26.tar.gz",
        "sha256": "3ff6c5d8b43e8c37bb6e6dd5085658d658a7a0bdcd20b6a07b1fcfc1c4e9d632"
       }
      ]
     }
    ]
   },
   {
    "name": "python3-pycparser",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pycparser\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl",
      "sha256": "c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"
     }
    ]
   },
   {
    "name": "python3-cffi",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \".\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz",
      "sha256": "44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529"
     }
    ]
   },
   {
    "name": "python3-asn1crypto",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"asn1crypto\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/c9/7f/09065fd9e27da0eda08b4d6897f1c13535066174cc023af248fc2a8d5e5a/asn1crypto-1.5.1-py2.py3-none-any.whl",
      "sha256": "db4e40728b728508912cbb3d44f19ce188f218e9eba635821bb4b68564f8fd67"
     }
    ]
   },
   {
    "name": "python3-idna",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"idna\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl",
      "sha256": "771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"
     }
    ]
   },
   {
    "name": "python3-cryptography",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"cryptography\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/60/f8/e61f8f13950ab6195b31913b42d39f0f9afc7d93f76710f299b5ec286ae6/cryptography-46.0.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl",
      "sha256": "26031f1e5ca62fcb9d1fcb34b2b60b390d1aacaa15dc8b895a9ed00968b97b30",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/19/69/732a736d12c2631e140be2348b4ad3d226302df63ef64d30dfdb8db7ad1c/cryptography-46.0.6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
      "sha256": "9a693028b9cbe51b5a1136232ee8f2bc242e4e19d456ded3fa7c86e43c713b4a",
      "only-arches": [
       "x86_64"
      ]
     }
    ]
   },
   {
    "name": "python3-pyopenssl",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyopenssl\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/fb/7d/d4f7d908fa8415571771b30669251d57c3cf313b36a856e6d7548ae01619/pyopenssl-26.0.0-py3-none-any.whl",
      "sha256": "df94d28498848b98cc1c0ffb8ef1e71e40210d3b0a8064c9d29571ed2904bf81"
     }
    ]
   },
   {
    "name": "python-ninja",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py build -j${FLATPAK_BUILDER_N_JOBS} -DARCHIVE_DOWNLOAD_DIR=\"${FLATPAK_BUILDER_BUILDDIR}\"",
     "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
    ],
    "build-options": {
     "env": {
      "CMAKE_POLICY_VERSION_MINIMUM": "3.5"
     }
    },
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/37/2c/d717d13a413d6f7579cdaa1e28e6e2c98de95461549b08d311c8a5bf4c51/ninja-1.11.1.1.tar.gz",
      "sha256": "9d793b08dd857e38d0b6ffe9e6b7145d7c485a42dcfea04905ca0cdb6017cc3c"
     },
     {
      "type": "file",
      "url": "https://github.com/Kitware/ninja/archive/refs/tags/v1.11.1.g95dee.kitware.jobserver-1.tar.gz",
      "sha256": "7ba84551f5b315b4270dc7c51adef5dff83a2154a3665a6c9744245c122dd0db"
     }
    ],
    "modules": [
     "pip-resources.python-skbuild.yaml",
     {
      "name": "python-skbuild",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
      ],
      "cleanup": [
       "*"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://files.pythonhosted.org/packages/9e/e2/2e440c30e93fc5b505ee56169a4396b05e797a1daadb721aba429adbfd51/scikit-build-0.15.0.tar.gz",
        "sha256": "e723cd0f3489a042370b9ea988bbb9cfd7725e8b25b20ca1c7981821fcf65fb9"
       }
      ],
      "modules": [
       {
        "name": "python-setuptools-scm",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
        ],
        "cleanup": [
         "*"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://files.pythonhosted.org/packages/7b/b1/19587742aad604f1988a8a362e660e8c3ac03adccdb71c96d86526e5eb62/setuptools_scm-9.2.2.tar.gz",
          "sha256": "1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57"
         }
        ],
        "modules": [
         {
          "name": "python-vcs-versioning",
          "buildsystem": "simple",
          "build-commands": [
           "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
          ],
          "cleanup": [
           "*"
          ],
          "sources": [
           {
            "type": "archive",
            "url": "https://files.pythonhosted.org/packages/f5/58/81416f7801a139099c4b950dbb2f7ee25c91dc6f7d46b4e09bb197da53b5/vcs_versioning-2.4.0.tar.gz",
            "sha256": "cc4b66c02ae4cfb51e843910024f7142464c3391bb1f7e04608578b45046891b",
            "x-checker-data": {
             "type": "pypi",
             "name": "vcs-versioning"
            }
           }
          ]
         },
         {
          "name": "python-tomli",
          "buildsystem": "simple",
          "build-commands": [
           "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
          ],
          "cleanup": [
           "*"
          ],
          "sources": [
           {
            "type": "archive",
            "url": "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz",
            "sha256": "7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f"
           }
          ]
         }
        ]
       },
       {
        "name": "python-distro",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz",
          "sha256": "2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed"
         }
        ]
       }
      ]
     }
    ]
   },
   {
    "name": "python-meson",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" --ignore-installed ."
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/ce/99/f2e4780865ebabda14ab03b98def0bf27c021efaf7ec7138c1dbbf1c72cb/meson-1.10.2.tar.gz",
      "sha256": "7890287d911dd4ee1ebd0efb61ed0321bfcd87c725df923a837cf90c6508f96b"
     }
    ]
   },
   {
    "name": "python-dbus",
    "buildsystem": "simple",
    "build-commands": [
     "PYTHONPATH=/app/lib/python3.11/site-packages python3 ./setup.py install --prefix=\"${FLATPAK_DEST}\" --root=/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.4.0.tar.xz",
      "sha256": "c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5"
     }
    ]
   },
   {
    "name": "iproute2",
    "buildsystem": "autotools",
    "make-install-args": [
     "PREFIX=${FLATPAK_DEST}",
     "SBINDIR=${FLATPAK_DEST}/bin",
     "CONFDIR=${FLATPAK_DEST}/etc/iproute2"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/iproute2/iproute2/archive/refs/tags/v6.17.0.tar.gz",
      "sha256": "fcf83a51254fc3de6afe7a110c7a91e10e723898283ff232f319bbc90c9f0666"
     }
    ]
   },
   {
    "name": "python-proton-core",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \".\" --no-build-isolation"
    ],
    "modules": [
     "pip-resources.python-proton-core.yaml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ProtonVPN/python-proton-core",
      "tag": "v0.7.4",
      "commit": "9bd4662ddde2d439e4e8c900f0431e23958bd512",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 369954,
       "tag-template": "v$version"
      }
     }
    ]
   },
   {
    "name": "python-proton-keyring-linux",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \".\" --no-build-isolation"
    ],
    "modules": [
     "pip-resources.python-proton-keyring-linux.yaml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ProtonVPN/python-proton-keyring-linux",
      "tag": "v0.2.3",
      "commit": "77b7653b783adac70dffefff5cc99fa7650fcc20",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 369953,
       "tag-template": "v$version"
      }
     }
    ]
   },
   {
    "name": "python-proton-vpn-api-core",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/python-proton-vpn-api-core/cargo",
      "CARGO_NET_OFFLINE": "true",
      "RUST_BACKTRACE": "1"
     }
    },
    "buildsystem": "simple",
    "build-commands": [
     "cargo build --release --locked --no-default-features --bin nm-protun-service --bin nm-protun-auth-dialog --lib --features 'protun,nm_protun_auth_dialog,python,core,local_agent'",
     "install -Dm755 target/release/libproton_vpn_platform.so proton/vpn/platform.abi3.so",
     "install -Dm755 target/release/nm-protun-service \"${FLATPAK_DEST}/libexec/nm-protun-service\"",
     "install -Dm755 target/release/nm-protun-auth-dialog \"${FLATPAK_DEST}/libexec/nm-protun-auth-dialog\"",
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \".\" --no-build-isolation"
    ],
    "modules": [
     "pip-resources.python-proton-vpn-api-core.yaml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ProtonVPN/python-proton-vpn-api-core",
      "tag": "v5.6.20",
      "commit": "3a7c1946623796540884574853492d06870d9477",
      "disable-submodules": true,
      "x-checker-data": {
       "type": "anitya",
       "project-id": 369944,
       "tag-template": "v$version"
      }
     },
     {
      "type": "git",
      "url": "https://github.com/ProtonVPN/protun.git",
      "tag": "v2.2.1",
      "commit": "12e7755a112f59b7b843da79290b3de25febf653",
      "dest": "dependencies/protun"
     },
     "proton-vpn-platform-cargo-sources.json",
     {
      "type": "patch",
      "path": "patches/python-proton-vpn-api-core/fix-ip-path.patch"
     }
    ]
   },
   {
    "name": "proton-vpn-cli",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \".\" --no-build-isolation"
    ],
    "modules": [
     "pip-resources.proton-vpn-cli.yaml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ProtonVPN/proton-vpn-cli.git",
      "tag": "v1.0.3",
      "commit": "a7c7abc8d3777f33b8d4c82279bd621258bd810d",
      "disable-submodules": true,
      "x-checker-data": {
       "type": "anitya",
       "project-id": 387797,
       "tag-template": "v$version"
      }
     },
     {
      "type": "patch",
      "path": "patches/proton-vpn-cli/remove-local-agent-dep.patch"
     }
    ]
   },
   {
    "name": "proton-vpn-gtk-app",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \".\" --no-build-isolation",
     "install -Dm644 rpmbuild/SOURCES/proton.vpn.app.gtk.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "desktop-file-edit --set-icon ${FLATPAK_ID} --set-key Exec --set-value 'protonvpn-app %u' --set-key StartupWMClass --set-value 'proton.vpn.app.gtk' ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 rpmbuild/SOURCES/proton-vpn-logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "PYTHON_VERSION=$(python3 -c 'import sys; print(\"{}.{}\".format(*sys.version_info))')\nPYTHONPATH=${FLATPAK_DEST}/lib/python${PYTHON_VERSION}/site-packages\nfor icon in maintenance-icon proton-vpn-sign state-connected state-disconnected state-error\ndo\n  mv ${PYTHONPATH}/proton/vpn/app/gtk/assets/icons/${icon}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.${icon}.svg\n  ln -s ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.${icon}.svg ${PYTHONPATH}/proton/vpn/app/gtk/assets/icons/${icon}.svg\ndone\n",
     "install -Dm644 com.protonvpn.www.metainfo.xml \"${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml\""
    ],
    "modules": [
     "pip-resources.proton-vpn-gtk-app.yaml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ProtonVPN/proton-vpn-gtk-app",
      "tag": "v4.18.2",
      "commit": "cabca6f10fb77fcfe01a88ced38a442c21b16ca8",
      "disable-submodules": true,
      "x-checker-data": {
       "type": "anitya",
       "project-id": 369943,
       "tag-template": "v$version",
       "is-main-source": true
      }
     },
     {
      "type": "patch",
      "path": "patches/proton-vpn-gtk-app/fix-tray-icons.patch"
     },
     {
      "type": "file",
      "path": "com.protonvpn.www.metainfo.xml"
     }
    ]
   }
  ]
 }
}