guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 04/32: gnu: emacs-s: Don't use unstable tarball.
Date: Sun, 14 Apr 2019 14:15:38 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5496aa124d1077844934a8d1caddbdae1d47e3df
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Mar 30 23:05:27 2019 +0100

    gnu: emacs-s: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-s)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/emacs-xyz.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a1db2be..98c9c9f 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]