diff options
| author | Ingar <ingar@onionmail.info> | 2026-01-29 16:06:31 +0100 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-02-12 17:58:24 +0200 |
| commit | 9f12aab350ff5efdd1b7a99922bdaab957f857ef (patch) | |
| tree | 60f0e4c7ae09f26eb618b38a3f8f677d2b170ede /gnu/packages | |
| parent | 1c04194982c86e5ff5b2f54ab464d1a5af470d5f (diff) | |
gnu: Add git-remote-tor 0.1.4
* gnu/packages/version-control.scm: New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[git-remote-tor]: New entry.
Change-Id: I2b4628be4fd15ef50bcd84ed2f0f80bfd49034b4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/rust-crates.scm | 9 | ||||
| -rw-r--r-- | gnu/packages/version-control.scm | 37 |
2 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/rust-crates.scm b/gnu/packages/rust-crates.scm index 0ce8238f0e8..6ab0b73c7fa 100644 --- a/gnu/packages/rust-crates.scm +++ b/gnu/packages/rust-crates.scm | |||
| @@ -34900,6 +34900,15 @@ | |||
| 34900 | rust-zerofrom-derive-0.1.6 | 34900 | rust-zerofrom-derive-0.1.6 |
| 34901 | rust-zerovec-0.10.4 | 34901 | rust-zerovec-0.10.4 |
| 34902 | rust-zerovec-derive-0.10.3)) | 34902 | rust-zerovec-derive-0.10.3)) |
| 34903 | (git-remote-tor => | ||
| 34904 | (list rust-indoc-0.3.6 | ||
| 34905 | rust-indoc-impl-0.3.6 | ||
| 34906 | rust-proc-macro-hack-0.5.20+deprecated | ||
| 34907 | rust-proc-macro2-1.0.106 | ||
| 34908 | rust-quote-1.0.44 | ||
| 34909 | rust-syn-1.0.109 | ||
| 34910 | rust-unicode-ident-1.0.22 | ||
| 34911 | rust-unindent-0.1.11)) | ||
| 34903 | (gitoxide => | 34912 | (gitoxide => |
| 34904 | (list rust-addr2line-0.24.2 | 34913 | (list rust-addr2line-0.24.2 |
| 34905 | rust-adler2-2.0.0 | 34914 | rust-adler2-2.0.0 |
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 1fb3b1f5fd9..98196bec3a6 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm | |||
| @@ -66,6 +66,7 @@ | |||
| 66 | ;;; Copyright © 2025 Dariqq <dariqq@posteo.net> | 66 | ;;; Copyright © 2025 Dariqq <dariqq@posteo.net> |
| 67 | ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> | 67 | ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> |
| 68 | ;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu> | 68 | ;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu> |
| 69 | ;;; Copyright © 2026 Ingar <ingar@onionmail.info> | ||
| 69 | ;;; | 70 | ;;; |
| 70 | ;;; This file is part of GNU Guix. | 71 | ;;; This file is part of GNU Guix. |
| 71 | ;;; | 72 | ;;; |
| @@ -178,6 +179,7 @@ | |||
| 178 | #:use-module (gnu packages textutils) | 179 | #:use-module (gnu packages textutils) |
| 179 | #:use-module (gnu packages time) | 180 | #:use-module (gnu packages time) |
| 180 | #:use-module (gnu packages tls) | 181 | #:use-module (gnu packages tls) |
| 182 | #:use-module (gnu packages tor) | ||
| 181 | #:use-module (gnu packages) | 183 | #:use-module (gnu packages) |
| 182 | #:use-module (ice-9 match) | 184 | #:use-module (ice-9 match) |
| 183 | #:use-module (srfi srfi-1) | 185 | #:use-module (srfi srfi-1) |
| @@ -1598,6 +1600,41 @@ The aim is to provide confidential, authenticated Git storage and | |||
| 1598 | collaboration using typical untrusted file hosts or services.") | 1600 | collaboration using typical untrusted file hosts or services.") |
| 1599 | (license license:gpl3+))) | 1601 | (license license:gpl3+))) |
| 1600 | 1602 | ||
| 1603 | (define-public git-remote-tor | ||
| 1604 | (package | ||
| 1605 | (name "git-remote-tor") | ||
| 1606 | (version "0.1.4") | ||
| 1607 | (source | ||
| 1608 | (origin | ||
| 1609 | (method url-fetch) | ||
| 1610 | (uri (crate-uri "git-remote-tor" version)) | ||
| 1611 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 1612 | (sha256 | ||
| 1613 | (base32 "146nyd5ww073iim48r71knfwnldq635xv732h3kl4ycsh2ki3ycx")))) | ||
| 1614 | (build-system cargo-build-system) | ||
| 1615 | (arguments | ||
| 1616 | (list | ||
| 1617 | #:install-source? #f | ||
| 1618 | #:phases | ||
| 1619 | #~(modify-phases %standard-phases | ||
| 1620 | (add-after 'unpack 'adjust-torify | ||
| 1621 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1622 | (let ((torsocks (search-input-file inputs "/bin/torsocks"))) | ||
| 1623 | (substitute* '("src/main.rs" "git-remote-tor.sh") | ||
| 1624 | (("Command::new\\(\"torsocks\"\\)") | ||
| 1625 | (string-append "Command::new(\"" torsocks "\")")) | ||
| 1626 | (("exec torsocks") | ||
| 1627 | (string-append "exec " torsocks)) | ||
| 1628 | ((" and torsocks installed") | ||
| 1629 | "")))))))) | ||
| 1630 | (inputs (cons torsocks | ||
| 1631 | (cargo-inputs 'git-remote-tor))) | ||
| 1632 | (home-page "https://agentofuser.com/git-remote-tor/") | ||
| 1633 | (synopsis "Seamless .onion and tor-ified git remotes") | ||
| 1634 | (description | ||
| 1635 | "This package provides Seamless .onion and tor-ified git remotes.") | ||
| 1636 | (license (list license:expat license:asl2.0)))) | ||
| 1637 | |||
| 1601 | (define-public git-repo-go | 1638 | (define-public git-repo-go |
| 1602 | (package | 1639 | (package |
| 1603 | (name "git-repo-go") | 1640 | (name "git-repo-go") |
