unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: joshua.r.marshall.1991@gmail.com
To: 41368@debbugs.gnu.org
Cc: Josh Marshall <joshua.r.marshall.1991@gmail.com>
Subject: [bug#41368] [PATCH] Moved gettext to use git to better conform to better bootstrapping, better integration with Software Heritage, and what looks like emerging best practices for package sources.
Date: Sun, 17 May 2020 15:44:00 -0400	[thread overview]
Message-ID: <20200517194400.349638-1-joshua.r.marshall.1991@gmail.com> (raw)

From: Josh Marshall <joshua.r.marshall.1991@gmail.com>

---
 gnu/packages/gettext.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 202acf25d4..19920aa210 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
   #:use-module (gnu packages docbook)
@@ -46,12 +47,13 @@
     (name "gettext-minimal")
     (version "0.20.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://gnu/gettext/gettext-"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://git.savannah.gnu.org/git/gettext.git")
+                     (commit (string-append "v" version))))
               (sha256
-               (base32
-                "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6"))))
+                (base32
+                  "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6"))))
     (build-system gnu-build-system)
     (outputs '("out"
                "doc"))                            ;9 MiB of HTML
-- 
2.25.1





             reply	other threads:[~2020-05-17 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 19:44 joshua.r.marshall.1991 [this message]
2020-05-17 19:56 ` [bug#41368] [PATCH] Moved gettext to use git to better conform to better bootstrapping, better integration with Software Heritage, and what looks like emerging best practices for package sources Marius Bakke
2020-05-17 20:30   ` Josh Marshall
2020-05-17 20:34     ` Marius Bakke
2020-05-18 18:04     ` Leo Famulari
2020-10-28 18:26     ` zimoun

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=20200517194400.349638-1-joshua.r.marshall.1991@gmail.com \
    --to=joshua.r.marshall.1991@gmail.com \
    --cc=41368@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).