gnu: weightwatcher: Fetch sources from Git.

They were removed from the home page.

* gnu/packages/astronomy.scm (weightwatcher)[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:13 +01:00 committed by Tobias Geerinckx-Rice
parent a6f9df4c41
commit 818405bb42
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -706,11 +706,13 @@ (define-public weightwatcher
(version "1.12")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.astromatic.net/download/weightwatcher/"
"weightwatcher-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/astromatic/weightwatcher")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1zaqd8d9rpgcwjsp92q3lkfaa22i20gppb91dz34ym54swisjc2p"))))
(base32 "0701z6bdqq32jv7ga3n6jh27q684ni0hbfjm1mak7rh0qqx089gi"))))
(build-system gnu-build-system)
(arguments
(list