nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchPypi, buildPythonPackage
2, numpy
3, absl-py
4, mock
5}:
6
7buildPythonPackage rec {
8 pname = "tensorflow-estimator";
9 version = "2.3.0";
10 format = "wheel";
11
12 src = fetchPypi {
13 pname = "tensorflow_estimator";
14 inherit version format;
15 sha256 = "11n4sl9wfr00fv1i837b7a36ink86ggmlsgj7i06kcfc011h6pmp";
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