nckx pushed a commit to branch master
in repository guix.

commit 6ea387bc614f16abacd9d3cab1a60911cd50c267
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jun 25 22:28:16 2023 +0100

    gnu: missfits: Fetch sources from Git.
    
    * gnu/packages/astronomy.scm (missfits)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
    
    Signed-off-by: Tobias Geerinckx-Rice <[email protected]>
---
 gnu/packages/astronomy.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 27fe4260ec..13d30caae2 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2672,11 +2672,13 @@ PixInsight.  It implements XISF 1.0 specification.")
     (version "2.8.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://www.astromatic.net/download/missfits/";
-                           "missfits-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/astromatic/missfits";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "04jrd7fsvzr14vdmwgj2f6v97gdcfyjyz6jppml3ghr9xh12jxv5"))))
+        (base32 "12ndvrr3l5j7ph2i5f3qf0wqmv5ymsyjzxnnypqajsvliw72iprh"))))
     (build-system gnu-build-system)
     (arguments
      (list

Reply via email to