summaryrefslogtreecommitdiff
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
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>
-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 f5e29b7f43d..2fff606f868 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -1150,6 +1150,51 @@ name = ~s~%"
1150LocalAgent, server, and python-bindings for that crate.") 1150LocalAgent, server, and python-bindings for that crate.")
1151 (license license:gpl3+)))) 1151 (license license:gpl3+))))
1152 1152
1153(define-public proton-vpn-cli
1154 (package
1155 (name "proton-vpn-cli")
1156 (version "0.1.3")
1157 (source
1158 (origin
1159 (method git-fetch)
1160 (uri (git-reference
1161 (url "https://github.com/ProtonVPN/proton-vpn-cli")
1162 (commit (string-append "v" version))))
1163 (file-name (git-file-name name version))
1164 (sha256
1165 (base32 "1kckgdqx9mgayyj3dh2fgd9brzw2s4wrxl6ajsfssnfmpqnz2zhy"))))
1166 (build-system pyproject-build-system)
1167 (arguments
1168 (list
1169 #:phases
1170 #~(modify-phases %standard-phases
1171 (add-before 'check 'prepare-tests
1172 (lambda _
1173 (setenv "HOME" (getcwd))
1174 (setenv "XDG_RUNTIME_DIR" (string-append (getcwd) "/.run")))))))
1175 (native-inputs
1176 (list python-pytest
1177 python-pytest-asyncio
1178 python-pytest-cov
1179 python-pyxdg
1180 python-setuptools))
1181 (propagated-inputs
1182 (list python-click
1183 python-dbus-fast
1184 python-proton-core
1185 python-proton-vpn-api-core
1186 python-proton-vpn-local-agent
1187 python-proton-keyring-linux
1188 python-sentry-sdk))
1189 (synopsis "Command-line client for ProtonVPN")
1190 (description
1191 "This is the official command-line interface for ProtonVPN, a secure
1192point-to-point virtual private networking (VPN) service with a gratis tier.
1193It can automatically find and connect to the fastest servers or use Tor over
1194VPN. The gratis tier offers unlimited bandwidth for up to 10 devices.")
1195 (home-page "https://github.com/ProtonVPN/linux-cli")
1196 (license license:gpl3+)))
1197
1153(define-public tinc 1198(define-public tinc
1154 (package 1199 (package
1155 (name "tinc") 1200 (name "tinc")