From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXzM9-0005N4-Fw for guix-patches@gnu.org; Fri, 14 Dec 2018 21:07:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXzM6-0004cW-9M for guix-patches@gnu.org; Fri, 14 Dec 2018 21:07:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXzM6-0004cJ-55 for guix-patches@gnu.org; Fri, 14 Dec 2018 21:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXzM5-0002ps-UP for guix-patches@gnu.org; Fri, 14 Dec 2018 21:07:01 -0500 Subject: [bug#33753] [PATCH 1/3] gnu: Add stumpwm-contrib. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXzLc-0005Ga-Je for guix-patches@gnu.org; Fri, 14 Dec 2018 21:06:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXzLZ-0004DO-E6 for guix-patches@gnu.org; Fri, 14 Dec 2018 21:06:32 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:45029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXzLZ-0004CY-6R for guix-patches@gnu.org; Fri, 14 Dec 2018 21:06:29 -0500 Received: by mail-lj1-f195.google.com with SMTP id k19-v6so6448789lji.11 for ; Fri, 14 Dec 2018 18:06:28 -0800 (PST) From: Nam Nguyen Date: Fri, 14 Dec 2018 18:06:00 -0800 Message-Id: <20181215020600.2713-1-namn@berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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/lisp.scm (stumpwm-contrib): New variable. --- gnu/packages/lisp.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index d1c0a2ef3..b9e6c0e42 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018 Alex Vong ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2018 Pierre Langlois +;;; Copyright © 2018 Nam Nguyen ;;; ;;; This file is part of GNU Guix. ;;; @@ -991,6 +992,41 @@ productive, customizable lisp based systems.") (inherit (sbcl-package->cl-source-package stumpwm)) (name "cl-stumpwm"))) +(define stumpwm-contrib + (let ((commit "bd47cec14f7299711ac29468d2e1364d38a81bee") + (revision "1")) + (package + (name "stumpwm-contrib") + (version (git-version "0.0.1" revision commit)) + (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 "0kh9vpmxssjvxgvl6ihpn0qh4l660n64iq80ivhagdvr8s045ddj")))) + (inputs + `(("stumpwm" ,stumpwm "lib"))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:phases + ;; Make stumpwm-contrib more modular. Child modules must copy + ;; their source to $(out)/share/common-lisp/stumpwm-contrib. + (modify-phases %standard-phases + (add-after 'check 'delete-plugins + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively + (string-append (assoc-ref outputs "out") + "/share/common-lisp/sbcl-source")) + #t))))) + (home-page "https://github.com/stumpwm/stumpwm-contrib") + (synopsis "Collection of StumpWM modules") + (description "Modules are a way to extend StumpWM using Lisp +code.") + (license (list license:gpl2+ license:gpl3+ license:bsd-2))))) + ;; The slynk that users expect to install includes all of slynk's contrib ;; modules. Therefore, we build the base module and all contribs first; then ;; we expose the union of these as `sbcl-slynk'. The following variable -- 2.20.0