From: Cairn via Guix-patches via <guix-patches@gnu.org>
To: 57458@debbugs.gnu.org
Cc: Cairn <cairn@pm.me>
Subject: [bug#57458] [PATCH 2/2] gnu: Add pixterm.
Date: Sun, 28 Aug 2022 04:56:39 +0000 [thread overview]
Message-ID: <20220828045631.23626-1-cairn@pm.me> (raw)
In-Reply-To: <20220828045142.23275-1-cairn@pm.me>
* gnu/packages/image-viewers.scm (pixterm): New variable.
---
gnu/packages/image-viewers.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 52c9584f67..68181ebfcc 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2021 dissent <disseminatedissent@protonmail.com>
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Cairn <cairn@pm.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -50,6 +51,7 @@ (define-module (gnu packages image-viewers)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
@@ -71,6 +73,7 @@ (define-module (gnu packages image-viewers)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages gtk)
#:use-module (gnu packages graphics)
#:use-module (gnu packages image)
@@ -502,6 +505,35 @@ (define-public catimg
It supports JPEG, PNG and GIF formats.")
(license license:expat)))
+(define-public pixterm
+ (package
+ (name "pixterm")
+ (version "1.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eliukblau/pixterm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0fm6c0mjz6zillqjirnjjf7mkrax1gyfcv6777i07ms3bnv0pcii"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/eliukblau/pixterm/cmd/pixterm"
+ #:unpack-path "github.com/eliukblau/pixterm"))
+ (inputs (list go-github-com-disintegration-imaging
+ go-golang-org-colorful
+ go-golang-org-x-crypto
+ go-golang-org-x-image))
+ (home-page "https://github.com/eliukblau/pixterm")
+ (synopsis "Draw images in your ANSI terminal with true color")
+ (description "PIXterm shows images directly in your terminal, recreating
+the pixels through a combination of ANSI character background color and the
+unicode lower half block element. It supports JPEG, PNG, GIF, BMP, TIFF
+and WebP.")
+ (license license:mpl2.0)))
+
(define-public luminance-hdr
(package
(name "luminance-hdr")
--
2.37.2
next prev parent reply other threads:[~2022-08-28 4:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-28 4:52 [bug#57458] [PATCH 0/2] gnu: Add pixterm Cairn via Guix-patches via
2022-08-28 4:55 ` [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging Cairn via Guix-patches via
2022-08-28 4:56 ` Cairn via Guix-patches via [this message]
2022-09-06 14:42 ` bug#57458: [PATCH 0/2] gnu: Add pixterm Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220828045631.23626-1-cairn@pm.me \
--to=guix-patches@gnu.org \
--cc=57458@debbugs.gnu.org \
--cc=cairn@pm.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).