all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: 39197@debbugs.gnu.org
Subject: [bug#39197] [PATCH core-updates 1/4] gnu: RHash: Do not use git-fetch, but provide a fallback URL.
Date: Mon, 20 Jan 2020 00:20:03 +0100	[thread overview]
Message-ID: <20200119232006.12303-1-mbakke@fastmail.com> (raw)
In-Reply-To: <20200119231651.11874-1-mbakke@fastmail.com>

* gnu/packages/crypto.scm (rhash)[source]: Change to URL-FETCH.
---
 gnu/packages/crypto.scm | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 276612f887..9a545e7311 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -711,14 +712,19 @@ BLAKE.")
     (version "1.3.9")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/rhash/RHash")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       ;; Note: This package is a dependency of CMake, which is needed to build
+       ;; libjpeg-turbo and ultimately 'git-minimal', so we cannot use 'git-fetch'
+       ;; here.  Use the generated tarball with a Debian fallback for now; upstream
+       ;; is aware of the problem: <https://github.com/rhash/RHash/issues/108>.
+       (uri (list (string-append "https://github.com/rhash/RHash/archive/v"
+                                 version ".tar.gz")
+                  (string-append "http://ftp.debian.org/debian/pool/main/r/rhash/"
+                                 "rhash_" version ".orig.tar.gz")))
+       (file-name (string-append "rhash-" version ".tar.gz"))
        (sha256
         (base32
-         "06i49x1l21h2q7pfnf4crbmjyg8b9ad0qs10ywyyn5sjpi0c21wq"))))
+         "1xn9fqa6rlnhsbgami45g82dlw9i1skg2sri3ydiinwak5ph1ca2"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
-- 
2.24.1

  reply	other threads:[~2020-01-19 23:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19 23:16 [bug#39197] [PATCH core-updates 0/4] Replace libjpeg with libjpeg-turbo Marius Bakke
2020-01-19 23:20 ` Marius Bakke [this message]
2020-01-19 23:20   ` [bug#39197] [PATCH core-updates 2/4] gnu: cmake-minimal: Build with a minimal variant of cURL Marius Bakke
2020-01-19 23:20   ` [bug#39197] [PATCH core-updates 3/4] gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo' Marius Bakke
2020-01-19 23:20   ` [bug#39197] [PATCH core-updates 4/4] gnu: Deprecate the 'libjpeg' variable Marius Bakke
2020-01-20 14:06 ` [bug#39197] [PATCH core-updates 2/4] gnu: cmake-minimal: Build with a minimal variant of cURL Jakub Kądziołka
2020-01-22 18:46   ` bug#39197: " Marius Bakke

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

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

  git send-email \
    --in-reply-to=20200119232006.12303-1-mbakke@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=39197@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.