2014-03-17 22:25:39 +01:00
|
|
|
{ stdenv, fetchurl, libpng, libjpeg, giflib, libtiff }:
|
2012-02-08 22:37:20 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-03-17 22:17:16 +01:00
|
|
|
name = "libwebp-0.4.0";
|
|
|
|
|
2012-02-08 22:37:20 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://webp.googlecode.com/files/${name}.tar.gz";
|
2014-03-17 22:17:16 +01:00
|
|
|
sha256 = "0sadjkx8m6sf064r5gngjvz4b5246q3j27dlaml5b1k3x5vkb49i";
|
2012-02-08 22:37:20 +01:00
|
|
|
};
|
|
|
|
|
2014-03-17 22:25:39 +01:00
|
|
|
buildInputs = [ libpng libjpeg giflib libtiff ];
|
2012-02-08 22:37:20 +01:00
|
|
|
|
2014-03-18 03:38:06 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-libwebpmux"
|
|
|
|
"--enable-libwebpdemux"
|
|
|
|
"--enable-libwebpdecoder"
|
|
|
|
];
|
|
|
|
|
2012-02-08 22:37:20 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/webp/;
|
|
|
|
description = "Tools and library for the WebP image format";
|
|
|
|
|
|
|
|
/* It has its own licence, google-related, but that looks like BSD */
|
|
|
|
license = "free";
|
|
|
|
};
|
|
|
|
}
|