From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jordan Subject: [Patch] Tmux Themepack Date: Thu, 09 Jun 2016 13:23:25 -0400 Message-ID: <871t46gtte.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB3ha-00049E-N4 for guix-devel@gnu.org; Thu, 09 Jun 2016 13:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB3hU-00033Y-HZ for guix-devel@gnu.org; Thu, 09 Jun 2016 13:25:04 -0400 Received: from forward15h.cmail.yandex.net ([87.250.230.157]:41092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB3hT-00031G-1p for guix-devel@gnu.org; Thu, 09 Jun 2016 13:25:00 -0400 Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward15h.cmail.yandex.net (Yandex) with ESMTP id ADF7721D71 for ; Thu, 9 Jun 2016 20:24:47 +0300 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id 7F2C81B40D7A for ; Thu, 9 Jun 2016 20:24:47 +0300 (MSK) 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 --=-=-= Content-Type: text/plain Good Day, This patch to add the tmux themepack. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-Tmux-themepack.patch Content-Description: Patch to add Tmux Themepack. Content-Transfer-Encoding: quoted-printable >From 9d400b025a3d60bc29b58ba0bf1301a418ba7aa2 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Wed, 18 May 2016 18:20:30 -0400 Subject: [PATCH] gnu: Add Tmux themepack * gnu/packages/tmux.scm: (tmux-themepack): New variable. --- gnu/packages/tmux.scm | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm index d89fc16..3617cb4 100644 --- a/gnu/packages/tmux.scm +++ b/gnu/packages/tmux.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013 Cyril Roelandt ;;; Copyright =C2=A9 2016 Efraim Flashner +;;; Copyright =C2=A9 2016 Matthew Jordan ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,10 +22,16 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system trivial) #:use-module (guix build-system gnu) #:use-module (gnu packages) + #:use-module (gnu packages base) #:use-module (gnu packages libevent) - #:use-module (gnu packages ncurses)) + #:use-module (gnu packages ncurses) + #:use-module (guix utils) + #:use-module (guix build utils)) + =20 (define-public tmux (package @@ -50,3 +57,38 @@ windows), each running a separate program, to be creat= ed, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.") (license isc))) + +(define-public tmux-themepack + (package + (name "tmux-themepack") + (version "03a3728") ;; No version tags + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jimeh/tmux-themepack.git") + (commit version))) + (sha256 + (base32 + "1d3k87mq5lca042jbap5kxskjy3kg79wjhhpnm6jacbn3anc67zl"))= )) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let* ((out (string-append + (assoc-ref %outputs "out") "/share/" ,na= me "-" ,version)) + (env (assoc-ref %build-inputs "coreutils")) + (in (string-append (assoc-ref %build-inputs "s= ource")))) + (copy-recursively in ".") + (substitute* "themepack.tmux" + (("#!/usr/bin/env") (string-append "#!" env "/bin= /env"))) + (mkdir-p out) + (copy-recursively "." out))))) + (propagated-inputs + `(("tmux" ,tmux) + ("coreutils" ,coreutils))) + (home-page "https://github.com/jimeh/tmux-themepack") + (synopsis "Pack of various Tmux themes") + (description "A pack of various Tmux themes.") + (license + (non-copyleft "http://www.wtfpl.net/txt/copying/")))) --=20 2.8.3 --=-=-= Content-Type: text/plain -- Matthew Jordan Sent with my mu4e --=-=-=--