diff options
author | ng0 <ng0@libertad.pw> | 2017-01-12 00:39:32 +0000 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-01-13 14:13:05 -0500 |
commit | 021bdbd262585630644a21d53006b602e8780f7c (patch) | |
tree | 068981e27badfb82fb7da081b4e40864a148450a /gnu/packages | |
parent | e3c101eb95753d780a6fa2232ad9331f6afc0030 (diff) | |
download | guix-021bdbd262585630644a21d53006b602e8780f7c.tar guix-021bdbd262585630644a21d53006b602e8780f7c.tar.gz |
gnu: Add colors.
* gnu/packages/suckless.scm (colors): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/suckless.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 5ef640b70e..6280e66ac5 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))) |