From 7e199d8ea70b9f6775026bcfe1be7ebf735c5d1c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 17 Aug 2020 10:31:57 +0200 Subject: [PATCH] gnu: emacs-gnuplot: Switch to Emacs build system. * gnu/packages/emacs-xyz.scm (emacs-gnuplot)[source]: Update URL. [native-inputs]: Remove. [arguments]: Remove. [home-page]: Update URL. [description]: Improve typography. --- gnu/packages/emacs-xyz.scm | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 55aa4c958a..d78dff79bf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11290,36 +11290,16 @@ (define-public emacs-gnuplot (origin (method git-fetch) (uri (git-reference - (url "https://github.com/bruceravel/gnuplot-mode") + (url "https://github.com/emacsorphanage/gnuplot-mode") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0bwri3cvm2vr27kyqkrddm28fs08axnd4nm9amfgp54xp20bn4yn")))) - (build-system gnu-build-system) - (native-inputs `(("emacs" ,emacs-minimal))) - (arguments - (let ((elisp-dir "/share/emacs/site-lisp")) - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%gnu-build-system-modules - (guix build emacs-utils)) - #:configure-flags - (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs") - "/bin/emacs") - (string-append "--with-lispdir=" %output ,elisp-dir)) - #:phases - (modify-phases %standard-phases - (add-after 'install 'generate-autoloads - (lambda* (#:key outputs #:allow-other-keys) - (emacs-generate-autoloads - "gnuplot" - (string-append (assoc-ref outputs "out") ,elisp-dir)) - #t)))))) - (home-page "https://github.com/bruceravel/gnuplot-mode") - (synopsis "Emacs major mode for interacting with gnuplot") - (description "@code{emacs-gnuplot} is an emacs major mode for interacting -with gnuplot.") + (build-system emacs-build-system) + (home-page "https://github.com/emacsorphanage/gnuplot-mode") + (synopsis "Emacs major mode for interacting with Gnuplot") + (description + "Emacs Gnuplot is an Emacs major mode for interacting with Gnuplot.") (license license:gpl2+))) (define-public emacs-transpose-frame