all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: James Smith via Guix-patches via <guix-patches@gnu.org>
To: 70971@debbugs.gnu.org
Cc: "James Smith" <jsubuntuxp@disroot.org>,
	"Adam Faiz" <adam.faiz@disroot.org>,
	"Liliana Marie Prikler" <liliana.prikler@gmail.com>,
	宋文武 <iyzsong@envs.net>
Subject: [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository.
Date: Wed, 15 May 2024 17:46:39 -0700	[thread overview]
Message-ID: <a32e0b02753e9797c877d9b129756b964898376f.1715820031.git.jsubuntuxp@disroot.org> (raw)
In-Reply-To: <cover.1715820031.git.jsubuntuxp@disroot.org>

* gnu/packages/game-development.scm (dhewm3) [source]: Use git repository
instead of downloading a tarball from GitHub.

Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260
---
 gnu/packages/game-development.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index bf0f984ec7..86d3cc0a06 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
 ;;; Copyright © 2022 dan <i@dan.games>
 ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3099,13 +3100,13 @@ (define-public dhewm3
     (name "dhewm3")
     (version "1.5.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/dhewm/dhewm3/releases/download/"
-                    version "/dhewm3-" version "-src.tar.xz"))
+              (method git-fetch)
+              (uri (git-reference (url "https://github.com/dhewm/dhewm3")
+                                  (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "10p0w1x5wx9b7d8mzvb6yqjia9prhkjwz04vbvphy8p383r33am6"))))
+                "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f                      ; No tests.
-- 
2.41.0





  reply	other threads:[~2024-05-16  0:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
2024-05-16  0:46 ` James Smith via Guix-patches via [this message]
2024-05-16  0:46 ` [bug#70971] [PATCH 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
2024-05-16  0:46 ` [bug#70971] [PATCH 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
2024-06-07  5:45   ` [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
2024-06-11 10:38     ` Christopher Baines
2024-06-11 12:45       ` James Smith via Guix-patches via
2024-06-22 16:33         ` Christopher Baines
2024-06-07  5:45   ` [bug#70971] [PATCH v2 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
2024-06-07  5:45   ` [bug#70971] [PATCH v2 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
2024-06-30 10:46 ` bug#70971: Close Andreas Enge

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=a32e0b02753e9797c877d9b129756b964898376f.1715820031.git.jsubuntuxp@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=70971@debbugs.gnu.org \
    --cc=adam.faiz@disroot.org \
    --cc=iyzsong@envs.net \
    --cc=jsubuntuxp@disroot.org \
    --cc=liliana.prikler@gmail.com \
    /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.