1{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k
2, numpy
3, absl-py
4, mock
5}:
6
7buildPythonPackage rec {
8 pname = "tensorflow-estimator";
9 version = "1.13.0";
10 format = "wheel";
11
12 src = fetchPypi {
13 pname = "tensorflow_estimator";
14 inherit version format;
15 sha256 = "068l4w0w7dj9gqkf8avjclq9zsp7ifwzw4rpf4qjylz3hczamzbw";
16 };
17
18 propagatedBuildInputs = [ mock numpy absl-py ];
19
20 meta = with stdenv.lib; {
21 description = "TensorFlow Estimator is a high-level API that encapsulates model training, evaluation, prediction, and exporting.";
22 homepage = http://tensorflow.org;
23 license = licenses.asl20;
24 maintainers = with maintainers; [ jyp ];
25 };
26}
27