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>
This commit is contained in:
Sharlatan Hellseher 2023-06-25 22:28:15 +01:00 committed by Tobias Geerinckx-Rice
parent e5f6d0ecaf
commit b67d61a05b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -645,11 +645,13 @@ (define-public eye
(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