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") (version "1.12")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://www.astromatic.net/download/weightwatcher/" (uri (git-reference
"weightwatcher-" version ".tar.gz")) (url "https://github.com/astromatic/weightwatcher")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1zaqd8d9rpgcwjsp92q3lkfaa22i20gppb91dz34ym54swisjc2p")))) (base32 "0701z6bdqq32jv7ga3n6jh27q684ni0hbfjm1mak7rh0qqx089gi"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list