unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: [PATCH 11/13] gnu: Add colors.
Date: Thu, 12 Jan 2017 00:39:32 +0000	[thread overview]
Message-ID: <20170112003934.3924-12-ng0@libertad.pw> (raw)
In-Reply-To: <20170112003934.3924-1-ng0@libertad.pw>

* gnu/packages/suckless.scm (colors): New variable.
---
 gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 74b0211be..056487baf 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -544,3 +544,33 @@ initially intended to be used on musl based Linux distributions.
   into the resulting binary.
 @end itemize\n")
     (license license:isc)))
+
+(define-public colors
+  (package
+    (name "colors")
+    (version "0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://dl.2f30.org/releases/"
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1lckmqpgj89841splng0sszbls2ag71ggkgr1wsv9y3v6y87589z"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; No tests
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)))) ; No configure script
+    (inputs
+     `(("libpng" ,libpng)))
+    (home-page "http://git.2f30.org/colors/")
+    (synopsis "Extract colors from pictures")
+    (description
+     "Extract colors from PNG files.  It is similar to
+strings(1) but for pictures.  For a given input file it outputs a
+colormap to stdout.")
+    (license license:isc)))
-- 
2.11.0

  parent reply	other threads:[~2017-01-12  0:39 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 20:21 Some suckless/2f30 packages ng0
2017-01-09 20:21 ` [PATCH 01/13] gnu: Add xbattmon ng0
2017-01-09 23:53   ` Leo Famulari
2017-01-09 20:21 ` [PATCH 02/13] gnu: Add wificurse ng0
2017-01-09 23:54   ` Leo Famulari
2017-01-11 23:39     ` ng0
2017-01-09 20:21 ` [PATCH 03/13] gnu: Add spoon ng0
2017-01-09 20:21 ` [PATCH 04/13] licenses: Add wtfpl ng0
2017-01-09 20:21 ` [PATCH 05/13] gnu: Add skroll ng0
2017-01-09 23:56   ` Leo Famulari
2017-01-09 20:21 ` [PATCH 06/13] gnu: Add sbm ng0
2017-01-09 20:21 ` [PATCH 07/13] gnu: Add prout ng0
2017-01-09 23:57   ` Leo Famulari
2017-01-09 20:21 ` [PATCH 08/13] gnu: Add noice ng0
2017-01-09 20:21 ` [PATCH 09/13] gnu: Add human ng0
2017-01-09 23:59   ` Leo Famulari
2017-01-09 20:21 ` [PATCH 10/13] gnu: Add fortify-headers ng0
2017-01-09 20:21 ` [PATCH 11/13] gnu: Add colors ng0
2017-01-09 20:21 ` [PATCH 12/13] gnu: Add libutf ng0
2017-01-09 20:21 ` [PATCH 13/13] gnu: Add lchat ng0
2017-01-10  0:03   ` Leo Famulari
2017-01-10  0:03 ` Some suckless/2f30 packages Leo Famulari
2017-01-12  0:39   ` 2f30, v2 ng0
2017-01-12  0:39     ` [PATCH 01/13] gnu: Add xbattmon ng0
2017-01-12  0:39     ` [PATCH 02/13] gnu: Add wificurse ng0
2017-01-12  0:39     ` [PATCH 03/13] gnu: Add spoon ng0
2017-01-12  0:39     ` [PATCH 04/13] licenses: Add wtfpl2 ng0
2017-01-12  0:39     ` [PATCH 05/13] gnu: Add skroll ng0
2017-01-12  0:39     ` [PATCH 06/13] gnu: Add sbm ng0
2017-01-12  0:39     ` [PATCH 07/13] gnu: Add prout ng0
2017-01-12  0:39     ` [PATCH 08/13] gnu: Add noice ng0
2017-01-12  0:39     ` [PATCH 09/13] gnu: Add human ng0
2017-01-12  0:39     ` [PATCH 10/13] gnu: Add fortify-headers ng0
2017-01-12  0:39     ` ng0 [this message]
2017-01-12  0:39     ` [PATCH 12/13] gnu: Add libutf ng0
2017-01-12  0:39     ` [PATCH 13/13] gnu: Add lchat ng0
2017-01-13 19:17     ` 2f30, v2 Leo Famulari

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=20170112003934.3924-12-ng0@libertad.pw \
    --to=ng0@libertad.pw \
    --cc=guix-devel@gnu.org \
    /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).