mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
007f80c1d0
Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739
27 lines
687 B
Nix
27 lines
687 B
Nix
{ stdenv, fetchurl, libpng, libjpeg, giflib, libtiff }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libwebp-0.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.webmproject.org/releases/webp/${name}.tar.gz";
|
|
sha256 = "09yhfhb90hlhr0vq8ajnpk9rxvmb1bkiywcqm7xahl35yvk4ddh0";
|
|
};
|
|
|
|
buildInputs = [ libpng libjpeg giflib libtiff ];
|
|
|
|
configureFlags = [
|
|
"--enable-libwebpmux"
|
|
"--enable-libwebpdemux"
|
|
"--enable-libwebpdecoder"
|
|
];
|
|
|
|
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 = stdenv.lib.licenses.free;
|
|
};
|
|
}
|