From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Patterson Subject: Re: [PATCH v2 13/13] gnu: Add sbcl-stumpwm-with-slynk. Date: Fri, 7 Oct 2016 04:07:57 -0400 Message-ID: <20161007040757.7b933589@uwaterloo.ca> References: <20160927041532.27097-1-ajpatter@uwaterloo.ca> <20161003024139.19975-1-ajpatter@uwaterloo.ca> <20161003024139.19975-14-ajpatter@uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQCM-0003NO-BX for guix-devel@gnu.org; Fri, 07 Oct 2016 04:08:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsQCJ-0004SZ-Kb for guix-devel@gnu.org; Fri, 07 Oct 2016 04:08:05 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:60068 helo=mailchk-m03.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQCJ-0004RZ-AJ for guix-devel@gnu.org; Fri, 07 Oct 2016 04:08:03 -0400 Received: from localhost (bas1-jockvale05-1176150086.dsl.bell.ca [70.26.160.70]) (authenticated bits=0) by mailchk-m03.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id u9787vSj017624 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 7 Oct 2016 04:08:00 -0400 In-Reply-To: <20161003024139.19975-14-ajpatter@uwaterloo.ca> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org =46rom 18ed767219311a348fe58f4a7e7f8bdb3dbfde9a Mon Sep 17 00:00:00 2001 From: Andy Patterson Date: Fri, 7 Oct 2016 03:37:02 -0400 Subject: [PATCH v3 11/12] gnu: Add sbcl-stumpwm-with-slynk. * gnu/packages/lisp.scm (sbcl-stumpwm+slynk): New variable. --- gnu/packages/lisp.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 60c7673..458862c 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -1039,3 +1039,32 @@ history.") (((names . paths) ...) (union-build (assoc-ref %outputs "out") paths)))))))) + +(define-public sbcl-stumpwm+slynk + (package + (inherit sbcl-stumpwm) + (name "sbcl-stumpwm-with-slynk") + (outputs '("out")) + (native-inputs + `(("stumpwm" ,sbcl-stumpwm) + ("slynk" ,sbcl-slynk))) + (arguments + (substitute-keyword-arguments (package-arguments sbcl-stumpwm) + ((#:phases phases) + `(modify-phases ,phases + (replace 'build-program + (lambda* (#:key lisp inputs outputs #:allow-other-keys) + (define program (string-append (assoc-ref outputs "out") + "/bin/stumpwm")) + (build-program lisp program + #:inputs inputs + #:entry-program '((stumpwm:stumpwm) 0) + #:dependencies '("stumpwm" + ,@slynk-systems)) + #t)) + (delete 'copy-source) + (delete 'build) + (delete 'check) + (delete 'link-dependencies) + (delete 'cleanup) + (delete 'create-symlinks))))))) --=20 2.10.0