diff options
Diffstat (limited to 'gnu/packages/tor.scm')
-rw-r--r-- | gnu/packages/tor.scm | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index 2c4ca1b814..2eb73704d4 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2021 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> -;;; Copyright © 2016-2018, 2020-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016-2018, 2020-2023, 2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is> ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2018, 2019, 2021, 2023 Eric Bavier <bavier@posteo.net> @@ -11,11 +11,12 @@ ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re> ;;; Copyright © 2020 André Batista <nandre@riseup.net> ;;; Copyright © 2021-2023 Danial Behzadi <dani.behzi@ubuntu.com> -;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2022 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org> ;;; Copyright © 2025 Danial Behzadi <dani.behzi@ubuntu.com> ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> +;;; Copyright © 2025 iamawacko <iamawacko@protonmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system pyproject) @@ -69,14 +71,14 @@ (define-public tor (package (name "tor") - (version "0.4.8.17") + (version "0.4.8.18") (source (origin (method url-fetch) (uri (string-append "https://dist.torproject.org/tor-" version ".tar.gz")) (sha256 (base32 - "0mnvijfnzkrvb0wfawfl7k7daxrp4k9b02gxd2g7p22b3mg75d3r")))) + "1y1sv6s4d46d5yq18ql5zqa5v5haddz5m47vpai4xzsfkl86rsja")))) (build-system gnu-build-system) (arguments (list #:configure-flags @@ -263,6 +265,30 @@ tastes. It has application for both stand-alone systems and multi-user networks.") (license license:gpl2+))) +(define-public oniongen-rs + (package + (name "oniongen-rs") + (version "0.6.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "oniongen-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17jr1k2ga0wpama87hr9xdnhz8nj12cmhzvpvm42yrgfckkampbz")))) + (build-system cargo-build-system) + (arguments + (list #:install-source? #f)) + (inputs (cargo-inputs 'oniongen-rs)) + (home-page "https://gitlab.com/iamawacko-oss/oniongen-rs") + (synopsis "V3 .onion vanity URL generator") + (description + "This package provides a v3 .onion vanity URL generator written in Rust. +Regex can be used to filter URLs. The thread count and output directory can be +specified. If the address generated matches your prefix, the hostname, public +key, and private key are written to a new directory.") + (license license:expat))) + (define-public onionshare-cli (package (name "onionshare-cli") @@ -281,7 +307,7 @@ networks.") (list python-cython-3 python-poetry-core python-pytest - python-wheel)) + python-setuptools)) (inputs (list python-click python-cffi @@ -301,7 +327,7 @@ networks.") python-setuptools python-stem python-unidecode - python-urllib3-next + python-urllib3 python-waitress python-werkzeug tor)) @@ -323,7 +349,7 @@ networks.") (("70.0.0") "67.6.1") ; setuptools = ">=70.0.0" (("1.8.1") "^1.8.1") ; stem = "1.8.1" (("3.0.6") "^3.0.6") ; werkzeug = "3.0.6" - (("0.41.2") "0.40.0")))) ; wheel = "^0.41.2" + ((".*0.41.2.*") "")))) ; wheel = "^0.41.2" (add-after 'unpack 'bake-tor (lambda* (#:key inputs #:allow-other-keys) (substitute* (list "cli/onionshare_cli/common.py" |