guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/16: gnu: eye: Fetch sources from Git.


From: guix-commits
Subject: 05/16: gnu: eye: Fetch sources from Git.
Date: Sat, 8 Jul 2023 17:28:10 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b67d61a05b15d2eae32eb5f84c82291c4ae7e57e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jun 25 22:28:15 2023 +0100

    gnu: eye: Fetch sources from Git.
    
    * gnu/packages/astronomy.scm (eye)[source]:
    Use GIT-FETCH and GIT-FILE-NAME.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 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 b2567b992a..564dbbe71b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -645,11 +645,13 @@ International Astronomical Union}.")
     (version "1.4.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://www.astromatic.net/download/eye/";
-                           "eye-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/astromatic/eye";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "092qhzcbrkcfidbx4bv9wz42w297n80jk7a6kwyi9a3fjfz81d7k"))))
+        (base32 "1j8rpgz3fjp6fw0qmxgfqycf3n01fzxds4w12vgyrhbnk658ia41"))))
     (build-system gnu-build-system)
     (arguments
      (list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]