From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:50255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU6ZT-0007hU-CM for guix-patches@gnu.org; Fri, 24 May 2019 05:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hU6ZS-0005Wh-9C for guix-patches@gnu.org; Fri, 24 May 2019 05:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hU6ZS-0005WX-6K for guix-patches@gnu.org; Fri, 24 May 2019 05:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hU6ZS-0007mT-2M for guix-patches@gnu.org; Fri, 24 May 2019 05:33:02 -0400 Subject: [bug#35878] [PATCH] gnu: Add chafa. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:50129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU6Ys-0007G2-0R for guix-patches@gnu.org; Fri, 24 May 2019 05:32:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hU6Yo-0005Go-1P for guix-patches@gnu.org; Fri, 24 May 2019 05:32:25 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:54133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hU6Yn-0005GH-4A for guix-patches@gnu.org; Fri, 24 May 2019 05:32:21 -0400 Received: by mail-wm1-x342.google.com with SMTP id 198so8619352wme.3 for ; Fri, 24 May 2019 02:32:20 -0700 (PDT) From: guy fleury iteriteka Date: Fri, 24 May 2019 11:33:07 +0200 Message-Id: <20190524093307.4345-1-hoonandon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=y 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: 35878@debbugs.gnu.org * gnu/packages/image-viewers.scm(chaffa): New variable. --- gnu/packages/image-viewers.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 82b44a4..fc94242 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 nee ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Ricardo Wurmus +;;; Copyright © 2019 Guy Fleury Iteriteka ;;; ;;; This file is part of GNU Guix. ;;; @@ -429,3 +430,28 @@ imaging. It supports several HDR and LDR image formats, and it can: a comic and manga reader. It supports a variety of container formats including CBZ, CB7, CBT, LHA.") (license license:gpl2+))) + +(define-public chafa + (package + (name "chafa") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://hpjansson.org/chafa/releases/chafa-" + version ".tar.xz")) + (sha256 + (base32 + "00cf2z52az0z6bzc3hfm4l8infipy5ck410wqmbaybd2csjr3m29")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("imagemagick" ,imagemagick))) + (synopsis "Terminal Graphics for the 21st Century") + (description + "Chafa is a command-line utility that converts all kinds of images, +including animated GIFs, into ANSI/Unicode character output that can be +displayed in a terminal.") + (home-page "https://hpjansson.org/chafa/") + (license license:lgpl3+))) -- 2.21.0