unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danial Behzadi <dani.behzi@ubuntu.com>
To: 67481@debbugs.gnu.org
Cc: Danial Behzadi <dani.behzi@ubuntu.com>
Subject: [bug#67481] [PATCH] gnu: tractor: Change URI of source.
Date: Mon, 27 Nov 2023 13:31:09 +0330	[thread overview]
Message-ID: <20231127100109.93330-1-dani.behzi@ubuntu.com> (raw)

---
 gnu/packages/tor.scm | 61 ++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index d4bf27a790..cb7fd571c5 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -441,41 +441,40 @@ (define-public tractor
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "traxtor" version))
+       (uri (string-append "https://framagit.org/tractor/tractor/-/archive/"
+                           version "/tractor-" version ".tar.bz2"))
        (sha256
-        (base32
-         "1542g6alycwlmvndxcijzn4d5lgycmxxb78gqd8qwgm9kw0fnr3q"))))
+        (base32 "0gnsgwgbipd1z3ra32mpglwy19jfay36y78nqg32zqka3lsha7rc"))))
     (build-system pyproject-build-system)
-    (native-inputs
-     (list (list glib "bin")))       ; for glib-compile-schemas.
-    (inputs
-     (list python-fire
-           python-psutil
-           python-pygobject
-           python-requests
-           python-stem
-           python-termcolor))
+    (native-inputs (list (list glib "bin"))) ;for glib-compile-schemas.
+    (inputs (list python-fire
+                  python-psutil
+                  python-pygobject
+                  python-requests
+                  python-stem
+                  python-termcolor))
     (arguments
      (list
-      #:tests? #f                   ; no test suite.
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'install 'install-man-page
-            (lambda _
-              (let ((man1 (string-append #$output "/share/man/man1")))
-                (install-file "tractor/man/tractor.1" man1))))
-          (add-after 'install 'install-bash-completion
-            (lambda _
-              (mkdir "bash-completion")
-              (rename-file "tractor/tractor-completion"
-                           "bash-completion/tractor")
-              (let ((bash-completion
-                      (string-append #$output "/share/bash-completion/completions")))
-                (install-file "bash-completion/tractor" bash-completion))))
-          (add-after 'install 'install-gschema
-            (lambda _
-              (let ((schemas (string-append #$output "/share/glib-2.0/schemas")))
-                (install-file "tractor/tractor.gschema.xml" schemas)))))))
+      #:tests? #f ;no test suite.
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'install 'install-man-page
+                     (lambda _
+                       (let ((man1 (string-append #$output "/share/man/man1")))
+                         (install-file "tractor/man/tractor.1" man1))))
+                   (add-after 'install 'install-bash-completion
+                     (lambda _
+                       (mkdir "bash-completion")
+                       (rename-file "tractor/tractor-completion"
+                                    "bash-completion/tractor")
+                       (let ((bash-completion (string-append #$output
+                                               "/share/bash-completion/completions")))
+                         (install-file "bash-completion/tractor"
+                                       bash-completion))))
+                   (add-after 'install 'install-gschema
+                     (lambda _
+                       (let ((schemas (string-append #$output
+                                       "/share/glib-2.0/schemas")))
+                         (install-file "tractor/tractor.gschema.xml" schemas)))))))
     (home-page "https://framagit.org/tractor")
     (synopsis "Setup an onion routing proxy")
     (description
-- 
2.34.1





             reply	other threads:[~2023-11-27 10:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-27 10:01 Danial Behzadi [this message]
2023-12-25 17:32 ` [bug#67481] [PATCH] gnu: tractor: Change URI of source Mathieu Othacehe
2024-01-07 13:24 ` Danial Behzadi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231127100109.93330-1-dani.behzi@ubuntu.com \
    --to=dani.behzi@ubuntu.com \
    --cc=67481@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).