guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: eless: Update to 0.6.


From: guix-commits
Subject: branch master updated: gnu: eless: Update to 0.6.
Date: Tue, 09 Feb 2021 04:59:40 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2275634  gnu: eless: Update to 0.6.
2275634 is described below

commit 2275634013dba5e7568902e7d40813d789f12a3e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 9 10:58:40 2021 +0100

    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.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2fa0909..a757703 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,6 +116,7 @@
   #:use-module (guix hg-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system emacs)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system perl)
@@ -14182,7 +14183,7 @@ languages while remaining inside the primary Org 
buffer.")
 (define-public eless
   (package
     (name "eless")
-    (version "0.3")
+    (version "0.6")
     (source
      (origin
        (method git-fetch)
@@ -14191,23 +14192,16 @@ languages while remaining inside the primary Org 
buffer.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0jr7vhh4vw69llhi0fh9ljscljkszkj0acdxl04da5hvqv6pnqbb"))))
-    (build-system trivial-build-system)
+        (base32 "1xif339wsc79hsab3l1nnwvy20jg7s1r4akfj4qqi6qxizfhmb52"))))
+    (build-system copy-build-system)
     (inputs
-     `(("bash" ,bash)))
+     `(("bash" ,bash)
+       ("emacs" ,emacs)))
     (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (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)))
+     `(#:install-plan
+       '(("eless" "bin/")
+         ("docs/eless.info" "share/info/")
+         ("eless.org" ,(string-append "share/doc/eless-" version "/")))))
     (home-page "https://github.com/kaushalmodi/eless";)
     (synopsis "Use Emacs as a paginator")
     (description "@code{eless} provides a combination of Bash script



reply via email to

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