2014-03-31 23:56:05 +00:00
|
|
|
{ stdenv, fetchurl, xproto, libXt, libX11, gifview ? false, static ? false }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2010-07-28 15:35:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-10-27 00:53:19 +00:00
|
|
|
name = "gifsicle-1.86";
|
2010-07-28 15:35:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-27 00:53:19 +00:00
|
|
|
url = http://www.lcdf.org/gifsicle/gifsicle-1.86.tar.gz;
|
|
|
|
sha256 = "153knkff04wh1szbmqklyq371m9whib007j0lq0dwh4jc5g6s15h";
|
2010-07-28 15:35:01 +00:00
|
|
|
};
|
|
|
|
|
2014-03-31 23:56:05 +00:00
|
|
|
buildInputs = optional gifview [ xproto libXt libX11 ];
|
|
|
|
|
|
|
|
LDFLAGS = optional static "-static";
|
2010-07-28 15:35:01 +00:00
|
|
|
|
2014-09-30 09:40:10 +00:00
|
|
|
meta = {
|
2010-07-28 15:35:01 +00:00
|
|
|
description = "Command-line tool for creating, editing, and getting information about GIF images and animations";
|
|
|
|
homepage = http://www.lcdf.org/gifsicle/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-09-30 09:40:10 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2010-07-28 15:35:01 +00:00
|
|
|
};
|
|
|
|
}
|