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 <me@tobias.gr>
This commit is contained in:
Sharlatan Hellseher 2023-06-25 22:28:16 +01:00 committed by Tobias Geerinckx-Rice
parent 047b7e55b3
commit 6ea387bc61
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

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