gnu: emacs-lispy: Change source to recent Git commit.

* gnu/packages/emacs.scm (emacs-lispy): Wrap with let, and change source to
the Git repository.
[propagated-inputs]: Add emacs-zoutline.
This commit is contained in:
Clément Lassieur 2018-04-09 21:31:25 +02:00
parent 30cf707088
commit e8360eb8ea
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 27 additions and 24 deletions

View File

@ -3561,34 +3561,37 @@ navigate code in a tree-like fashion.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-lispy (define-public emacs-lispy
(package ;; Release 0.26.0 was almost 3 years ago, and there have been ~772 commits
(name "emacs-lispy") ;; since.
(version "0.26.0") (let ((commit "a7e1cf742e72199cc75aa5e1e686991ba4a23bc4")
(source (revision "0"))
(origin (package
(method url-fetch) (name "emacs-lispy")
(uri (string-append "https://github.com/abo-abo/lispy/archive/" (version (git-version "0.26.0" revision commit))
version ".tar.gz")) (home-page "https://github.com/abo-abo/lispy")
(file-name (string-append name "-" version ".tar.gz")) (source (origin
(sha256 (method git-fetch)
(base32 (uri (git-reference (url home-page) (commit commit)))
"15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl")))) (sha256
(build-system emacs-build-system) (base32
(propagated-inputs "0qg85gz5akayvhb5fmn1qx7s9847gry4g20xcnq8llr839lq28dl"))
`(("emacs-ace-window" ,emacs-ace-window) (file-name (git-file-name name version))))
("emacs-iedit" ,emacs-iedit) (build-system emacs-build-system)
("emacs-ivy" ,emacs-ivy) (propagated-inputs
("emacs-hydra" ,emacs-hydra))) `(("emacs-ace-window" ,emacs-ace-window)
(home-page "https://github.com/abo-abo/lispy") ("emacs-iedit" ,emacs-iedit)
(synopsis "Modal S-expression editing") ("emacs-ivy" ,emacs-ivy)
(description ("emacs-hydra" ,emacs-hydra)
"Due to the structure of Lisp syntax it's very rare for the programmer to ("emacs-zoutline" ,emacs-zoutline)))
want to insert characters right before \"(\" or right after \")\". Thus (synopsis "Modal S-expression editing")
(description
"Due to the structure of Lisp syntax it's very rare for the programmer
to want to insert characters right before \"(\" or right after \")\". Thus
unprefixed printable characters can be used to call commands when the point is unprefixed printable characters can be used to call commands when the point is
at one of these special locations. Lispy provides unprefixed keybindings for at one of these special locations. Lispy provides unprefixed keybindings for
S-expression editing when point is at the beginning or end of an S-expression editing when point is at the beginning or end of an
S-expression.") S-expression.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-clojure-mode (define-public emacs-clojure-mode
(package (package