1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

torch: init at 0.0-pre20160820

This commit is contained in:
Michael Raskin 2016-08-20 23:41:34 +02:00
parent 14736fcf4c
commit 3581a00d69
3 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{stdenv, fetchgit, luajit, openblas, imagemagick, cmake, curl, fftw, gnuplot,
libjpeg_turbo, zeromq3, ncurses, openssl, libpng, qt4, readline, unzip}:
stdenv.mkDerivation rec{
version = "0.0pre20160820";
name = "torch-${version}";
buildInputs = [
luajit openblas imagemagick cmake curl fftw gnuplot unzip qt4
libjpeg_turbo zeromq3 ncurses openssl libpng readline
];
src = fetchgit (stdenv.lib.importJSON ./src.json);
configurePhase = ''
'';
buildPhase = ''
cd ..
export PREFIX=$out
mkdir "$out"
sh install.sh -s
'';
installPhase = ''
'';
meta = {
inherit version;
description = ''A scientific computing framework with wide support for machine learning algorithms'';
license = stdenv.lib.licenses.bsd3 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -0,0 +1,6 @@
{
"url": "https://github.com/torch/distro",
"rev": "8b6a834f8c8755f6f5f84ef9d8da9cfc79c5ce1f",
"sha256": "120hnz82d7izinsmv5smyqww71dhpix23pm43s522dfcglpql8xy",
"fetchSubmodules": true
}

View file

@ -9568,6 +9568,8 @@ in
tokyotyrant = callPackage ../development/libraries/tokyo-tyrant { };
torch = callPackage ../development/libraries/torch {};
tremor = callPackage ../development/libraries/tremor { };
udns = callPackage ../development/libraries/udns { };