From ae1ec6b0e4ecb09ab5cb02822b9516d5c9aaac6a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 14 Dec 2021 19:28:20 +0100 Subject: gnu: emacs-pdf-tools: Use new style. * gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[arguments]<#:phases>: Remove trailing #T. [native-inputs, propagated-inputs]: Remove labels. [inputs]: Reorder alphabetically. --- gnu/packages/emacs-xyz.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7f509ce7a7..deb95d2c44 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3364,14 +3364,14 @@ during idle time, while Emacs is doing nothing else.") (modify-phases %standard-phases ;; Build server side using 'gnu-build-system'. (add-after 'unpack 'enter-server-dir - (lambda _ (chdir "server") #t)) + (lambda _ (chdir "server"))) (add-after 'enter-server-dir 'autogen (lambda _ (invoke "bash" "autogen.sh"))) ;; Build emacs side using 'emacs-build-system'. (add-after 'compress-documentation 'enter-lisp-dir - (lambda _ (chdir "../lisp") #t)) + (lambda _ (chdir "../lisp"))) (add-after 'enter-lisp-dir 'emacs-patch-variables (lambda* (#:key outputs #:allow-other-keys) (for-each make-file-writable (find-files ".")) @@ -3394,14 +3394,11 @@ during idle time, while Emacs is doing nothing else.") (add-after 'emacs-install 'emacs-make-autoloads (assoc-ref emacs:%standard-phases 'make-autoloads))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("pkg-config" ,pkg-config) - ("emacs" ,emacs-minimal))) + (list autoconf automake emacs-minimal pkg-config)) (inputs - (list poppler cairo glib libpng zlib)) + (list cairo glib libpng poppler zlib)) (propagated-inputs - `(("tablist" ,emacs-tablist))) + (list emacs-tablist)) (home-page "https://github.com/politza/pdf-tools") (synopsis "Emacs support library for PDF files") (description -- cgit v1.2.3