From patchwork Sat Dec 15 02:06:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nam Nguyen X-Patchwork-Id: 467 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AFF8516971; Sat, 15 Dec 2018 02:07:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTP id 0E68E1696E for ; Sat, 15 Dec 2018 02:07:09 +0000 (GMT) Received: from localhost ([::1]:37290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXzMC-0005ND-Ev for patchwork@mira.cbaines.net; Fri, 14 Dec 2018 21:07:08 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#33753] [PATCH 1/3] gnu: Add stumpwm-contrib. Resent-From: Nam Nguyen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Dec 2018 02:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33753 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33753@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154483960110864 (code B ref -1); Sat, 15 Dec 2018 02:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2018 02:06:41 +0000 Received: from localhost ([127.0.0.1]:48762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXzLk-0002pA-RS for submit@debbugs.gnu.org; Fri, 14 Dec 2018 21:06:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXzLj-0002ot-Oo for submit@debbugs.gnu.org; Fri, 14 Dec 2018 21:06:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXzLd-0004Gk-PA for submit@debbugs.gnu.org; Fri, 14 Dec 2018 21:06:34 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:48084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXzLd-0004GY-KX for submit@debbugs.gnu.org; Fri, 14 Dec 2018 21:06:33 -0500 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MAWZ2Q8l8XC0oH91iemrdyhsqAE91r9l6BTkUf/3Ed4=; b=VztKDC4Zjme7a6nn+2OBgZSU6asyaEWsXG2zvYdApfgKwqxITXDUHms88v/TDFlcgO USR1DCNUKNfT5HP1v9umM9XhlG1vjYr9DOPmXEU2qZreglDrRZgailsbVVTm8lDwiYX3 vZ0jG7+rRhMcmMPjFdJb4E3lYMB0stMhxDmdFfyq945fnEgSJws3jLkDomNg7OdsRYhJ FPQT7ndEtkCDwgKhA+t4sgKFyTj8zxgW2V2wPJW2d2CjcMV+QrT16g6lPREVaCGlh0pD WXQun+XXl7o05Nxym6cVkuoiZtk975RlppvByIgtsnwXGBU3xKW6Er9Khi1HL9KuC9mz FqHA== X-Gm-Message-State: AA+aEWaRAYkpIaVGITBcCQk++uNw4C17gqMH5yZJ7jVyZV/dD0SwX7FT R7D/rlo6048ep0r/kzr5Qk14VzmX2Os= X-Google-Smtp-Source: AFSGD/W5l6y0tFHtSBNz4jQCbV7skgHOD6z7VLpcPfiXTaabwuHR6GjN93h6hkVvcY7iwobVny83MA== X-Received: by 2002:a2e:2281:: with SMTP id i123-v6mr2662021lji.154.1544839587364; Fri, 14 Dec 2018 18:06:27 -0800 (PST) Received: from localhost.localdomain ([24.5.139.14]) by smtp.googlemail.com with ESMTPSA id q6sm1187399lfh.52.2018.12.14.18.06.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 18:06:26 -0800 (PST) From: Nam Nguyen Date: Fri, 14 Dec 2018 18:06:00 -0800 Message-Id: <20181215020600.2713-1-namn@berkeley.edu> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nam Nguyen Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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