1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/libraries/libwebp/default.nix
Mateusz Kowalczyk 007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00

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;
};
}