gnu: Add proton-vpn-cli.

* gnu/packages/vpn.scm (proton-vpn-cli): New variable.

Change-Id: I1bc662904eb7739143714a3da1ff3590fefffba3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-21 18:45:03 +01:00 committed by Sharlatan Hellseher
parent c5b0b9cba0
commit b07af24158
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1150,6 +1150,51 @@ name = ~s~%"
LocalAgent, server, and python-bindings for that crate.")
(license license:gpl3+))))
(define-public proton-vpn-cli
(package
(name "proton-vpn-cli")
(version "0.1.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ProtonVPN/proton-vpn-cli")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1kckgdqx9mgayyj3dh2fgd9brzw2s4wrxl6ajsfssnfmpqnz2zhy"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'prepare-tests
(lambda _
(setenv "HOME" (getcwd))
(setenv "XDG_RUNTIME_DIR" (string-append (getcwd) "/.run")))))))
(native-inputs
(list python-pytest
python-pytest-asyncio
python-pytest-cov
python-pyxdg
python-setuptools))
(propagated-inputs
(list python-click
python-dbus-fast
python-proton-core
python-proton-vpn-api-core
python-proton-vpn-local-agent
python-proton-keyring-linux
python-sentry-sdk))
(synopsis "Command-line client for ProtonVPN")
(description
"This is the official command-line interface for ProtonVPN, a secure
point-to-point virtual private networking (VPN) service with a gratis tier.
It can automatically find and connect to the fastest servers or use Tor over
VPN. The gratis tier offers unlimited bandwidth for up to 10 devices.")
(home-page "https://github.com/ProtonVPN/linux-cli")
(license license:gpl3+)))
(define-public tinc
(package
(name "tinc")