guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b07af241584f8cce141b1a8a77eec0e4ce3d8949
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Dec 21 18:45:03 2025 +0100
gnu: Add proton-vpn-cli.
* gnu/packages/vpn.scm (proton-vpn-cli): New variable.
Change-Id: I1bc662904eb7739143714a3da1ff3590fefffba3
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/vpn.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index f5e29b7f43..2fff606f86 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -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")