diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-04-25 18:40:57 +0200 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-04-25 18:40:57 +0200 |
commit | a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3 (patch) | |
tree | cd62da0d201b30a2b4756ac849588768c7e1338f /pkgs/top-level/python-packages.nix | |
parent | 496b7513136f72f2b5c318ca6b4a48f71ca2e060 (diff) | |
parent | a4ad51f0c1e676975b87d28e3dfc50be319c72b5 (diff) | |
download | nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.tar nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.tar.gz nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.tar.bz2 nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.tar.lz nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.tar.xz nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.tar.zst nixlib-a6f7e0a8a26d17c01a62ae64f7d648e7ab3760f3.zip |
Merge pull request #14605 from bcdarwin/python_theano
theano: init at 0.8.1
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 846e07c9ac46..9e3605827d3f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20150,6 +20150,36 @@ in modules // { }; }; + Theano = buildPythonPackage rec { + name = "Theano-0.8.1"; + + disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3"); + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/T/Theano/${name}.tar.gz"; + sha256 = "17dikk94r8bzkxg976srqlhj5c7phs9gl837iabyfdpixkbrl79g"; + }; + + #preCheck = '' + # mkdir -p check-phase + # export HOME=$(pwd)/check-phase + #''; + doCheck = false; + # takes far too long, also throws "TypeError: sort() missing 1 required positional argument: 'a'" + # when run from the installer, and testing with Python 3.5 hits github.com/Theano/Theano/issues/4276, + # the fix for which hasn't been merged yet. + + # keep Nose around since running the tests by hand is possible from Python or bash + propagatedBuildInputs = [ stdenv ] ++ (with self; [ nose numpy numpy.blas pydot_ng scipy six ]); + + meta = { + homepage = http://deeplearning.net/software/theano/; + description = "A Python library for large-scale array computation"; + license = stdenv.lib.licenses.bsd3; + maintainers = [ maintainers.bcdarwin ]; + }; + }; + tidylib = buildPythonPackage rec { version = "0.2.4"; name = "pytidylib-${version}"; |