guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: emacs-org-reveal: Use git-version and git-file-name.


From: guix-commits
Subject: 01/03: gnu: emacs-org-reveal: Use git-version and git-file-name.
Date: Tue, 19 Mar 2019 06:33:22 -0400 (EDT)

snape pushed a commit to branch master
in repository guix.

commit 6e4a5b9e37d47dcdf8f63ab96bec22c47f8570bb
Author: Clément Lassieur <address@hidden>
Date:   Tue Mar 19 10:40:57 2019 +0100

    gnu: emacs-org-reveal: Use git-version and git-file-name.
    
    * gnu/packages/emacs-xyz.scm (emacs-org-reveal)[version]: Use git-version.
    [source]: Use git-file-name.
---
 gnu/packages/emacs-xyz.scm | 39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bf637d7..0a81bf7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10010,27 +10010,26 @@ You should really read org-ref.org in this package 
for details.")
       (license license:gpl3+))))
 
 (define-public emacs-org-reveal
-  (package
-    (name "emacs-org-reveal")
-    ;; There are no proper tag, so we use the latest commit of the stable
-    ;; branch, as does MELPA.
-    (version "20161027.926")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/yjwen/org-reveal.git";)
-                    (commit "001567cc12d50ba07612edd1718b86a12e8c2547")))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "18rma8smjrskbjyna076zhvx79zs5r5vinb537h8mw13pfxd6cm8"))))
-    (build-system emacs-build-system)
-    (home-page "https://github.com/yjwen/org-reveal";)
-    (synopsis "Org and Reveal.js powered HTML presentation tool")
-    (description "Org-Reveal is a address@hidden extension that allows to
-create beautiful presentations (slides) with 3D effects from simple but
+  (let ((commit "001567cc12d50ba07612edd1718b86a12e8c2547"))
+    (package
+      (name "emacs-org-reveal")
+      (version (git-version "0.1" "1" commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/yjwen/org-reveal.git";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "18rma8smjrskbjyna076zhvx79zs5r5vinb537h8mw13pfxd6cm8"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/yjwen/org-reveal";)
+      (synopsis "Org and Reveal.js powered HTML presentation tool")
+      (description "Org-Reveal is a address@hidden extension that allows
+to create beautiful presentations (slides) with 3D effects from simple but
 powerful Org contents.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-add-hooks
   (package



reply via email to

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