diff --git a/pkgs/development/libraries/libwebp/default.nix b/pkgs/development/libraries/libwebp/default.nix new file mode 100644 index 000000000000..854af5942f90 --- /dev/null +++ b/pkgs/development/libraries/libwebp/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, libpng, libjpeg}: + +stdenv.mkDerivation rec { + name = "libwebp-0.1.3"; + + src = fetchurl { + url = "http://webp.googlecode.com/files/${name}.tar.gz"; + sha256 = "1fkssvg99s9ypswh4ywkirgcy1wmy3b6388f3cqj4a4vwdb89ca0"; + }; + + buildInputs = [ libpng libjpeg ]; + + 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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3476b7e1f936..f08fcb5cac7b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4233,6 +4233,8 @@ let libvorbis = callPackage ../development/libraries/libvorbis { }; + libwebp = callPackage ../development/libraries/libwebp { }; + libwmf = callPackage ../development/libraries/libwmf { }; libwpd = callPackage ../development/libraries/libwpd {