summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-21 18:45:03 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:38:57 +0000
commitb07af241584f8cce141b1a8a77eec0e4ce3d8949 (patch)
treeea37c3b28dc6e36000d28055dcc63cbe7dc06cc7 /gnu
parentc5b0b9cba0b112ae0d4c665354278ee468e94418 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/vpn.scm45
1 files changed, 45 insertions, 0 deletions
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")