gnu: emacs-s: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-s)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-30 23:05:27 +01:00
parent 85baeb2002
commit 5496aa124d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1931,19 +1931,19 @@ (define-public emacs-s
(package (package
(name "emacs-s") (name "emacs-s")
(version "1.12.0") (version "1.12.0")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/magnars/s.el/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/magnars/s.el.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"0xbl75863pcm806zg0x1lw7qznzjq2c8320k8js7apyag8q4srvh")))) (base32 "1g8mqd13llj007al4nlxxx4z2lcsg3wk970mgjn0avwrhjjgdmmv"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:tests? #t `(#:tests? #t
#:emacs ,emacs ; FIXME: tests fail with emacs-minimal #:emacs ,emacs ; FIXME: tests fail with emacs-minimal
#:test-command '("./run-tests.sh"))) #:test-command '("./run-tests.sh")))
(home-page "https://github.com/magnars/s.el") (home-page "https://github.com/magnars/s.el")
(synopsis "Emacs string manipulation library") (synopsis "Emacs string manipulation library")