From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXzP4-0006qz-HZ for guix-patches@gnu.org; Fri, 14 Dec 2018 21:10:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXzP1-00064T-Dc for guix-patches@gnu.org; Fri, 14 Dec 2018 21:10:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXzP1-00064O-9m for guix-patches@gnu.org; Fri, 14 Dec 2018 21:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXzP1-0002va-39 for guix-patches@gnu.org; Fri, 14 Dec 2018 21:10:03 -0500 Subject: [bug#33753] [PATCH 3/3] gnu: emacs-stumpwm-mode: Use source and version of stumpwm-cpu. Resent-Message-ID: From: Nam Nguyen Date: Fri, 14 Dec 2018 18:09:08 -0800 Message-Id: <20181215020908.2792-2-namn@berkeley.edu> In-Reply-To: <20181215020908.2792-1-namn@berkeley.edu> References: <20181215020908.2792-1-namn@berkeley.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33753@debbugs.gnu.org Cc: Nam Nguyen * gnu/packages/emacs.scm (emacs-stumpwm-mode): Use source and version of stumpwm-cpu. --- gnu/packages/emacs.scm | 44 ++++++++++++++++-------------------------- 1 file changed, 17 insertions(+), 27 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 358f32cab..07d2c2104 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -122,6 +122,7 @@ #:use-module (gnu packages video) #:use-module (gnu packages haskell) #:use-module (gnu packages wordnet) + #:use-module (gnu packages lisp) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -10822,33 +10823,22 @@ bookmarks and history.") (license license:gpl3+)))) (define-public emacs-stumpwm-mode - (let ((commit "8fbe071d2c6c040794060a354eb377218dc10b35") - (revision "1")) - (package - (name "emacs-stumpwm-mode") - (version (string-append "0.0.1-" revision "." - (string-take commit 7))) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/stumpwm/stumpwm-contrib.git") - (commit commit))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "1dfwsvz1c8w6j4jp0kzaz78ml3f5dp0a5pvf090kwpbpg176r7iq")))) - (build-system emacs-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'chdir-elisp - ;; Elisp directory is not in root of the source. - (lambda _ - (chdir "util/swm-emacs")))))) - (home-page "https://github.com/stumpwm/stumpwm-contrib") - (synopsis "Emacs minor-mode for Stumpwm") - (description "Emacs minor-mode for Stumpwm") - (license license:gpl3+)))) + (package + (name "emacs-stumpwm-mode") + (version (package-version stumpwm-cpu)) + (source (package-source stumpwm-cpu)) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-elisp + ;; Elisp directory is not in root of the source. + (lambda _ + (chdir "util/swm-emacs")))))) + (home-page "https://github.com/stumpwm/stumpwm-contrib") + (synopsis "Emacs minor-mode for Stumpwm") + (description "Emacs minor-mode for Stumpwm") + (license license:gpl3+))) (define-public emacs-irfc (package -- 2.20.0