guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-ytdl: Small fixes.


From: guix-commits
Subject: branch master updated: gnu: emacs-ytdl: Small fixes.
Date: Tue, 20 Oct 2020 06:21:33 -0400

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 be48b05  gnu: emacs-ytdl: Small fixes.
be48b05 is described below

commit be48b0549db4dfa0a406e2a136b02eb1035ed595
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Oct 20 12:19:01 2020 +0200

    gnu: emacs-ytdl: Small fixes.
    
    * gnu/packages/emacs-xyz.scm (emacs-ytdl)[arguments]: End phases with #t.  
Use
    `make-file-writable' instead of `chmod'.
    [license]: Use GPL3+.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ddb2ccb..cf72cfa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18788,8 +18788,7 @@ can be queued at any time.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1xv93ny942gha1ipic5r6z4icjsb7src7ssdck9983kks3zacjk7"))))
+        (base32 "1xv93ny942gha1ipic5r6z4icjsb7src7ssdck9983kks3zacjk7"))))
     (build-system emacs-build-system)
     (inputs
      `(("youtube-dl" ,youtube-dl)))
@@ -18803,20 +18802,20 @@ can be queued at any time.")
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((youtube-dl (assoc-ref inputs "youtube-dl")))
                ;; .el is read-only in git.
-               (chmod "ytdl.el" #o644)
-               ;; Specify the absolute file names of the various
-               ;; programs so that everything works out-of-the-box.
-               (emacs-substitute-variables
-                   "ytdl.el"
-                 ("ytdl-command"
-                  (string-append youtube-dl "/bin/youtube-dl")))))))))
+               (make-file-writable "ytdl.el")
+               ;; Specify the absolute file names of the various programs so
+               ;; that everything works out-of-the-box.
+               (emacs-substitute-variables "ytdl.el"
+                 ("ytdl-command" (string-append youtube-dl "/bin/youtube-dl")))
+               #t))))))
     (home-page "https://gitlab.com/tuedachu/ytdl";)
     (synopsis "Emacs interface for youtube-dl")
-    (description "This package manages a video download queue for
-@command{youtube-dl}, which serves as the back end.  New videos can be queued
-at any time.  All youtube-dl backends are supported.  It's possible to create
-download profiles depending on the downloaded URL.")
-    (license license:gpl3)))
+    (description
+     "This package manages a video download queue for @command{youtube-dl},
+which serves as the back end.  New videos can be queued at any time.  All
+youtube-dl backends are supported.  It is possible to create download profiles
+depending on the downloaded URL.")
+    (license license:gpl3+)))
 
 (define-public emacs-org-web-tools
   (package



reply via email to

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