Commit Graph

24 Commits

Author SHA1 Message Date
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jörg Thalheim
1976d79627
tensorflow: drop 1.x
it no longer works without our default python version and needs
many patches to compile.
2021-01-07 18:52:44 +01:00
Timo Kaufmann
a730888ce0 python.pkgs.tensorflow{,-bin,-estimator,-tensorboard}-2: Init at 2.1.0
Major breaking change from 1.x, so treating keeping both versions for now.

(adapted from 33f11be707)
(adapted from 9e8dea7986)
2020-03-30 13:58:28 +00:00
Frederik Rietdijk
cc9505aab1 pythonPackages.tensorflow-bin: disable for python 3.8 2019-10-16 11:32:31 +02:00
Nikolay Amiantov
1c429acbff tensorflow: add OpenGL path to find libcudart 2019-10-02 10:33:31 +03:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Nikolay Amiantov
170dd558df python.pkgs.tensorflow: cleanup binary build 2019-07-31 13:28:44 +03:00
Colin
f634a929d4 pythonPackages.tensorflow: Hardcode a second search class. (#65584)
It appears without this, libcuda.so.1 is not picked up and nvidia
graphics are broken
2019-07-31 13:00:12 +03:00
Timo Kaufmann
377a60f902 python: tensorflow: 1.13.1 -> 1.14.0, tensorflow-tensorboard: 1.13.0 -> 1.14.0, tensorflow-estimator: 1.13.0 -> 1.14.0
All in one commit because the packages are all interdependent and have
to be upgraded together.
2019-06-27 22:37:20 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Timo Kaufmann
af7455b1c8 pythonPackages.tensorflow: fix python<3.4 build
This was already added for the source build, but missing for the binary
build.
2019-03-04 14:11:27 +01:00
Jean-Philippe Bernardy
1c350dc99e pythonPackages.tensorflow: 1.11 -> 1.13.1 2019-03-02 09:05:38 +01:00
Frederik Rietdijk
0a2caa41fe Python: drop python.majorVersion
Drop `python.majorVersion`. For Python language version, use `python.pythonVersion`.
For implementation version, use `python.sourceVersion`.

Some expressions were broken. Those that were identified were fixed.

fixup major
2019-01-04 10:45:22 +01:00
Jean-Philippe Bernardy
a8a3928a34 python.packages.tensorflow: 1.9.0 -> 1.11.0 2018-10-15 14:49:52 +02:00
Herman Fries
69af83b202 tensorflow: Add contrib/tensor_forest to rpath 2018-10-13 10:20:42 +02:00
Jean-Philippe Bernardy
8162378401 python.pkgs.tensorflow 1.7.0 -> 1.9.0 2018-08-07 11:42:36 +02:00
Tyson Whitehead
fd0c467f96
tensorflow: workaround tensorboard collision from upstream pip hack
Upstream lists tensorboard as a utility from tensorflow despite it
being provided by tensorboard to stop pip for deleting it.  This
causes python.withPackages collisions between the two.
2018-08-03 14:28:46 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jean-Philippe Bernardy
7e1f9da6bc python.packages.tensorflow: repair postFixup phase
Remove an extra dot.
Fixes #41163
2018-06-12 09:11:56 +02:00
Jean-Philippe Bernardy
7d02ec9ac6 python.packages.tensorflow: add missing dependencies 2018-06-08 15:38:02 +02:00
Jean-Philippe Bernardy
82540b5e1a pythonPackages.tensorflow: 1.5.0 -> 1.7.1
Re-instates binary build for all versions.
2018-05-31 22:21:54 +02:00
Nikolay Amiantov
650d8c93a1 tensorflow: add a binary wheel release for Darwin 2018-04-05 15:00:18 +03:00