From patchwork Thu Jun 9 17:23:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthew Jordan X-Patchwork-Id: 12928 Received: (qmail 42153 invoked by uid 89); 9 Jun 2016 18:07:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=txt, Hx-languages-length:2807, H*RU:sk:1bB3ha-, Hx-spam-relays-external:sk:1bB3ha- X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 09 Jun 2016 18:07:29 +0000 Received: from localhost ([::1]:36230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB4MX-0000KP-0S for patchwork@sourceware.org; Thu, 09 Jun 2016 14:07:25 -0400 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) Received: by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4YZNjY7ORs-OkF0gR5P; Thu, 09 Jun 2016 20:24:46 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1465493087; bh=Ih8D72g+cI24YFwkKqGo9Dzxe6g1sUz8EAnDhBz56p4=; h=User-agent:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=c8+Ycxd/Ku8jwWJy3VeIPxG60+z2XgZrueodGG2TUYLj6snNZYZVYbR1Ng5tikC7n pUEMDLTSJG/4tmXwTsaUpJky639m/yzS9V/7ufdrUgv4Zt9VI/pXn/PA6mNpM5T7M4 SkqWPiA5LeCu90Dsv1anbfYtHkJjqwMSDrLUJjow= Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0 User-agent: mu4e 0.9.13; emacs 24.5.1 From: Matthew Jordan To: guix-devel 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 87.250.230.157 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" Good Day, This patch to add the tmux themepack. --- Matthew Jordan Sent with my mu4e 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 © 2013 Cyril Roelandt ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 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)) + (define-public tmux (package @@ -50,3 +57,38 @@ windows), each running a separate program, to be created, 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/" ,name "-" ,version)) + (env (assoc-ref %build-inputs "coreutils")) + (in (string-append (assoc-ref %build-inputs "source")))) + (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/")))) -- 2.8.3