gnu: emacs-scratch-el: Update to 1.3.

* gnu/packages/emacs-xyz.scm (emacs-scratch-el): Update to 1.3.
This commit is contained in:
Nicolas Goaziou 2021-02-17 12:32:31 +01:00
parent 6e8cdf1d26
commit bad548161e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -14425,42 +14425,40 @@ from @code{groovy-mode} for editing Jenkins declarative pipeline files.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-scratch-el (define-public emacs-scratch-el
(let ((commit "2cdf2b841ce7a0987093f65b0cc431947549f897") (package
(revision "1")) (name "emacs-scratch-el")
(package (version "1.3")
(name "emacs-scratch-el") (source
(version (git-version "1.2" revision commit)) (origin
(source (origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://github.com/ieure/scratch-el")
(url "https://github.com/ieure/scratch-el") (commit (string-append "v" version))))
(commit commit))) (file-name (git-file-name name version))
(file-name (git-file-name name version)) (sha256
(sha256 (base32 "0yiwq2gc4gdgfhaagpawhb7yrzc4fsnyb10w5d0q4whv64cj8555"))))
(base32 (build-system emacs-build-system)
"0wscsndynjmnliajqaz28r1ww81j8wh84zwaaswx51abhwgl0idf")))) (native-inputs
(build-system emacs-build-system) `(("texinfo" ,texinfo)))
(native-inputs (arguments
`(("texinfo" ,texinfo))) '(#:phases
(arguments (modify-phases %standard-phases
'(#:phases (add-after 'install 'install-doc
(modify-phases %standard-phases (lambda* (#:key outputs #:allow-other-keys)
(add-after 'install 'install-doc (unless (invoke "makeinfo" "scratch.texi")
(lambda* (#:key outputs #:allow-other-keys) (error "makeinfo failed"))
(unless (invoke "makeinfo" "scratch.texi") (install-file "scratch.info"
(error "makeinfo failed")) (string-append (assoc-ref outputs "out")
(install-file "scratch.info" "/share/info"))
(string-append (assoc-ref outputs "out") #t)))))
"/share/info")) (home-page "https://github.com/ieure/scratch-el/")
#t))))) (synopsis "Create scratch buffers with the same mode as current buffer")
(home-page "https://github.com/ieure/scratch-el/") (description "Scratch is an extension to Emacs that enables one to create
(synopsis "Create scratch buffers with the same mode as current buffer")
(description "Scratch is an extension to Emacs that enables one to create
scratch buffers that are in the same mode as the current buffer. This is scratch buffers that are in the same mode as the current buffer. This is
notably useful when working on code in some language; you may grab code into a notably useful when working on code in some language; you may grab code into a
scratch buffer, and, by virtue of this extension, do so using the Emacs scratch buffer, and, by virtue of this extension, do so using the Emacs
formatting rules for that language.") formatting rules for that language.")
(license license:bsd-2)))) (license license:bsd-2)))
(define-public emacs-kv (define-public emacs-kv
(package (package