From b57bc05d689ebe0ffbdc539f2145083a700e6ae3 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Mon, 28 May 2018 23:44:32 +0300 Subject: wigust: Add sbcl-winner-mode. * wigust/packages/lisp.scm (sbcl-winner-mode): New public variable. --- wigust/packages/lisp.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/wigust/packages/lisp.scm b/wigust/packages/lisp.scm index d1a652b..1b61efd 100644 --- a/wigust/packages/lisp.scm +++ b/wigust/packages/lisp.scm @@ -89,3 +89,34 @@ (install-file "stumpwm.info" (string-append (assoc-ref outputs "doc") "/share/info"))))))))))) + +(define-public sbcl-winner-mode + (let ((commit "8fbed038e2e51d9034a9bb0273c10ae3e9221026")) + (package + (name "sbcl-winner-mode") + (version (git-version "0.1" "1" 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 + "1918axy82v7yj5j2igvp6220aibzk0yay6wdgqwgxf2b8mi13jmw")))) + (inputs + `(("sbcl-stumpwm" ,sbcl-stumpwm))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-elisp + ;; ‘winner-mode’ directory is not in root of the source. + (lambda _ + (chdir "util/winner-mode")))))) + (build-system asdf-build-system/sbcl) + (home-page "https://github.com/stumpwm/stumpwm-contrib") + (synopsis "External modules for StumpWM window manager") + (description + "This package provides external modules for StumpWM window manager.") + (license #f)))) -- cgit v1.2.3