From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:58220) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZ5oN-0003DA-W8 for guix-patches@gnu.org; Thu, 06 Jun 2019 23:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZ5oM-0007MX-P3 for guix-patches@gnu.org; Thu, 06 Jun 2019 23:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZ5oM-0007ME-Lm for guix-patches@gnu.org; Thu, 06 Jun 2019 23:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hZ5oM-0000Cp-HI for guix-patches@gnu.org; Thu, 06 Jun 2019 23:45:02 -0400 Subject: [bug#36050] [PATCH] gnu: Add emacs-xterm-color References: <20190602025956.1666-1-jonathan@terracrypt.net> In-Reply-To: <20190602025956.1666-1-jonathan@terracrypt.net> Resent-Message-ID: From: Jonathan Frederickson Date: Thu, 6 Jun 2019 23:40:00 -0400 Message-Id: <20190607034000.21850-1-jonathan@terracrypt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36050@debbugs.gnu.org Cc: Jonathan Frederickson * gnu/packages/emacs-xyz.scm: (emacs-xterm-color) new variable. --- gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9199b45e40..3224883969 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15620,4 +15620,23 @@ verb commands which would are normally destructive (such as deletion) are provided. Those alternative commands are and bound by default to their corresponding Evil keys.") (license license:expat)))) + +(define-public emacs-xterm-color + (let ((commit "a452ab38a7cfae97078062ff8885b5d74fd1e5a6") + (version "1.8") + (revision "1")) + (package + (name "emacs-xterm-color") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atomontage/xterm-color.git") + (commit commit))) + (sha256 + (base32 "02kpajb993yshhjhsizpfcbrcndyzkf4dqfipifhxxng50dhp95i")))) + (build-system emacs-build-system) + (home-page "https://github.com/atomontage/xterm-color") + (synopsis "ANSI & xterm-256 color text property translator for Emacs") + (description "@code{xterm-color.el} is an ANSI control sequence to text-property translator.") + (license license:bsd-2)))) -- Here's a revised version - I saw there were a few different conventions for packages with git sources, but I figured using both a numeric version for the version I intended and a git hash for stability would be desirable.