aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-30 23:05:27 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-14 20:15:28 +0200
commit5496aa124d1077844934a8d1caddbdae1d47e3df (patch)
tree638c992b636067082d3620b29f04e4a0eac69a2c
parent85baeb20023acc8e94b2ce9f0b2a12922103bc9d (diff)
downloadguix-5496aa124d1077844934a8d1caddbdae1d47e3df.tar
guix-5496aa124d1077844934a8d1caddbdae1d47e3df.tar.gz
gnu: emacs-s: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-s)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/emacs-xyz.scm20
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a1db2be856..98c9c9f712 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1931,19 +1931,19 @@ allows easily move between them.")
(package
(name "emacs-s")
(version "1.12.0")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/magnars/s.el/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0xbl75863pcm806zg0x1lw7qznzjq2c8320k8js7apyag8q4srvh"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/magnars/s.el.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1g8mqd13llj007al4nlxxx4z2lcsg3wk970mgjn0avwrhjjgdmmv"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t
- #:emacs ,emacs ; FIXME: tests fail with emacs-minimal
+ #:emacs ,emacs ; FIXME: tests fail with emacs-minimal
#:test-command '("./run-tests.sh")))
(home-page "https://github.com/magnars/s.el")
(synopsis "Emacs string manipulation library")