me
/
guix
Archived
1
0
Fork 0

gnu: eless: Update to 0.6.

* gnu/packages/emacs-xyz.scm (eless): Update to 0.6.
[inputs]: Add emacs.
[arguments]: Move to copy-build-system.
master
Nicolas Goaziou 2021-02-09 10:58:40 +01:00
parent 47df463393
commit 2275634013
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 10 additions and 16 deletions

View File

@ -116,6 +116,7 @@
#:use-module (guix hg-download) #:use-module (guix hg-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
@ -14182,7 +14183,7 @@ languages while remaining inside the primary Org buffer.")
(define-public eless (define-public eless
(package (package
(name "eless") (name "eless")
(version "0.3") (version "0.6")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -14191,23 +14192,16 @@ languages while remaining inside the primary Org buffer.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0jr7vhh4vw69llhi0fh9ljscljkszkj0acdxl04da5hvqv6pnqbb")))) (base32 "1xif339wsc79hsab3l1nnwvy20jg7s1r4akfj4qqi6qxizfhmb52"))))
(build-system trivial-build-system) (build-system copy-build-system)
(inputs (inputs
`(("bash" ,bash))) `(("bash" ,bash)
("emacs" ,emacs)))
(arguments (arguments
`(#:modules ((guix build utils)) `(#:install-plan
#:builder '(("eless" "bin/")
(begin ("docs/eless.info" "share/info/")
(use-modules (guix build utils)) ("eless.org" ,(string-append "share/doc/eless-" version "/")))))
(copy-recursively (assoc-ref %build-inputs "source") "source")
(chdir "source")
(substitute* "eless" (("/usr/bin/env bash")
(string-append (assoc-ref %build-inputs "bash")
"/bin/bash")))
(install-file "eless" (string-append %output "/bin"))
(install-file "doc/eless.info" (string-append %output "/share/info"))
#t)))
(home-page "https://github.com/kaushalmodi/eless") (home-page "https://github.com/kaushalmodi/eless")
(synopsis "Use Emacs as a paginator") (synopsis "Use Emacs as a paginator")
(description "@code{eless} provides a combination of Bash script (description "@code{eless} provides a combination of Bash script