3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: spectrwm: Don't use unstable tarball.

* gnu/packages/wm.scm (spectrwm)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-11-03 06:51:37 +01:00
parent 0e564b5e18
commit b82bd90c09
No known key found for this signature in database
GPG key ID: D889B0F018C5493C

View file

@ -1034,15 +1034,15 @@ Keybinder works with GTK-based applications using the X Window System.")
(version "3.2.0")
(source
(origin
(method url-fetch)
(uri (let ((version-with-underscores
(string-join (string-split version #\.) "_")))
(string-append "https://github.com/conformal/spectrwm/archive/"
"SPECTRWM_" version-with-underscores ".tar.gz")))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/conformal/spectrwm.git")
(commit
(string-append "SPECTRWM_"
(string-join (string-split version #\.) "_")))))
(file-name (git-file-name name version))
(sha256
(base32
"0z7gjmp1x6y8q3dnw6swvbv8x2wd4ykzjvi3ibk2sxhgc910907v"))))
(base32 "1dfqy5f0s1nv6rqkz9lj006vypmp4rwxd5vczfk3ndzqgnh19kw6"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (let ((pkg-config (lambda (flag)