summaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorIngar <ingar@onionmail.info>2026-01-29 16:06:31 +0100
committerEfraim Flashner <efraim@flashner.co.il>2026-02-12 17:58:24 +0200
commit9f12aab350ff5efdd1b7a99922bdaab957f857ef (patch)
tree60f0e4c7ae09f26eb618b38a3f8f677d2b170ede /gnu/packages/version-control.scm
parent1c04194982c86e5ff5b2f54ab464d1a5af470d5f (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/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm37
1 files changed, 37 insertions, 0 deletions
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
1598collaboration using typical untrusted file hosts or services.") 1600collaboration 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")