2014-04-01 01:56:05 +02:00
|
|
|
{ stdenv, fetchurl, xproto, libXt, libX11, gifview ? false, static ? false }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2010-07-28 17:35:01 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 15:05:45 +01:00
|
|
|
name = "gifsicle-1.78";
|
2010-07-28 17:35:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-18 15:05:45 +01:00
|
|
|
url = http://www.lcdf.org/gifsicle/gifsicle-1.78.tar.gz;
|
|
|
|
sha256 = "0dzp5sg82klji4lbj1m4cyg9fb3l837gkipdx657clib97klyv53";
|
2010-07-28 17:35:01 +02:00
|
|
|
};
|
|
|
|
|
2014-04-01 01:56:05 +02:00
|
|
|
buildInputs = optional gifview [ xproto libXt libX11 ];
|
|
|
|
|
|
|
|
LDFLAGS = optional static "-static";
|
2010-07-28 17:35:01 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command-line tool for creating, editing, and getting information about GIF images and animations";
|
|
|
|
homepage = http://www.lcdf.org/gifsicle/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-28 17:35:01 +02:00
|
|
|
};
|
|
|
|
}
|