1{ stdenv, fetchPypi, buildPythonPackage
2, numpy
3, absl-py
4, mock
5}:
6
7buildPythonPackage rec {
8 pname = "tensorflow-estimator";
9 version = "2.1.0";
10 format = "wheel";
11
12 src = fetchPypi {
13 pname = "tensorflow_estimator";
14 inherit version format;
15 sha256 = "0wk9viil54ms1s2ir7zxygqa425i69hx8zngwhdqvw9nlr4gdig5";
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