torch: image, enable JPEG and PNG support

This commit is contained in:
Sergey Mironov 2016-03-22 00:37:56 +03:00
parent c899444c69
commit 6bb8f45182

View File

@ -1,6 +1,6 @@
{ luarocks, lib , stdenv, writeText , readline, makeWrapper,
less, ncurses, cmake, openblas, coreutils, fetchgit, libuuid, czmq, openssl,
gnuplot, fetchurl, lua, src
gnuplot, fetchurl, lua, src, libjpeg, libpng
} :
let
@ -227,7 +227,7 @@ let
image = buildLuaRocks rec {
name = "image";
luadeps = [ torch dok sys xlua ];
buildInputs = [cmake];
buildInputs = [cmake libjpeg libpng];
src = "${distro_src}/pkg/image";
rockspec = "image-1.1.alpha-0.rockspec";
preBuild = ''