torch: image, enable JPEG and PNG support
This commit is contained in:
parent
c899444c69
commit
6bb8f45182
@ -1,6 +1,6 @@
|
|||||||
{ luarocks, lib , stdenv, writeText , readline, makeWrapper,
|
{ luarocks, lib , stdenv, writeText , readline, makeWrapper,
|
||||||
less, ncurses, cmake, openblas, coreutils, fetchgit, libuuid, czmq, openssl,
|
less, ncurses, cmake, openblas, coreutils, fetchgit, libuuid, czmq, openssl,
|
||||||
gnuplot, fetchurl, lua, src
|
gnuplot, fetchurl, lua, src, libjpeg, libpng
|
||||||
} :
|
} :
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -227,7 +227,7 @@ let
|
|||||||
image = buildLuaRocks rec {
|
image = buildLuaRocks rec {
|
||||||
name = "image";
|
name = "image";
|
||||||
luadeps = [ torch dok sys xlua ];
|
luadeps = [ torch dok sys xlua ];
|
||||||
buildInputs = [cmake];
|
buildInputs = [cmake libjpeg libpng];
|
||||||
src = "${distro_src}/pkg/image";
|
src = "${distro_src}/pkg/image";
|
||||||
rockspec = "image-1.1.alpha-0.rockspec";
|
rockspec = "image-1.1.alpha-0.rockspec";
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user