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.
This commit is contained in:
		
							parent
							
								
									4790365308
								
							
						
					
					
						commit
						6e4a5b9e37
					
				
					 1 changed files with 19 additions and 20 deletions
				
			
		| 
						 | 
					@ -10010,27 +10010,26 @@ You should really read org-ref.org in this package for details.")
 | 
				
			||||||
      (license license:gpl3+))))
 | 
					      (license license:gpl3+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public emacs-org-reveal
 | 
					(define-public emacs-org-reveal
 | 
				
			||||||
 | 
					  (let ((commit "001567cc12d50ba07612edd1718b86a12e8c2547"))
 | 
				
			||||||
    (package
 | 
					    (package
 | 
				
			||||||
      (name "emacs-org-reveal")
 | 
					      (name "emacs-org-reveal")
 | 
				
			||||||
    ;; There are no proper tag, so we use the latest commit of the stable
 | 
					      (version (git-version "0.1" "1" commit))
 | 
				
			||||||
    ;; branch, as does MELPA.
 | 
					 | 
				
			||||||
    (version "20161027.926")
 | 
					 | 
				
			||||||
      (source (origin
 | 
					      (source (origin
 | 
				
			||||||
                (method git-fetch)
 | 
					                (method git-fetch)
 | 
				
			||||||
                (uri (git-reference
 | 
					                (uri (git-reference
 | 
				
			||||||
                      (url "https://github.com/yjwen/org-reveal.git")
 | 
					                      (url "https://github.com/yjwen/org-reveal.git")
 | 
				
			||||||
                    (commit "001567cc12d50ba07612edd1718b86a12e8c2547")))
 | 
					                      (commit commit)))
 | 
				
			||||||
              (file-name (string-append name "-" version "-checkout"))
 | 
					                (file-name (git-file-name name version))
 | 
				
			||||||
                (sha256
 | 
					                (sha256
 | 
				
			||||||
                 (base32
 | 
					                 (base32
 | 
				
			||||||
                  "18rma8smjrskbjyna076zhvx79zs5r5vinb537h8mw13pfxd6cm8"))))
 | 
					                  "18rma8smjrskbjyna076zhvx79zs5r5vinb537h8mw13pfxd6cm8"))))
 | 
				
			||||||
      (build-system emacs-build-system)
 | 
					      (build-system emacs-build-system)
 | 
				
			||||||
      (home-page "https://github.com/yjwen/org-reveal")
 | 
					      (home-page "https://github.com/yjwen/org-reveal")
 | 
				
			||||||
      (synopsis "Org and Reveal.js powered HTML presentation tool")
 | 
					      (synopsis "Org and Reveal.js powered HTML presentation tool")
 | 
				
			||||||
    (description "Org-Reveal is a command@{org-mode} extension that allows to
 | 
					      (description "Org-Reveal is a command@{org-mode} extension that allows
 | 
				
			||||||
create beautiful presentations (slides) with 3D effects from simple but
 | 
					to create beautiful presentations (slides) with 3D effects from simple but
 | 
				
			||||||
powerful Org contents.")
 | 
					powerful Org contents.")
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					      (license license:gpl3+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public emacs-add-hooks
 | 
					(define-public emacs-add-hooks
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue