nixpkgs/pkgs/development/python-modules/tensorflow-estimator/default.nix
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

28 lines
666 B
Nix

{ stdenv, fetchPypi, buildPythonPackage
, numpy
, absl-py
, mock
}:
buildPythonPackage rec {
pname = "tensorflow-estimator";
version = "2.3.0";
format = "wheel";
src = fetchPypi {
pname = "tensorflow_estimator";
inherit version format;
sha256 = "11n4sl9wfr00fv1i837b7a36ink86ggmlsgj7i06kcfc011h6pmp";
};
propagatedBuildInputs = [ mock numpy absl-py ];
meta = with stdenv.lib; {
description = "TensorFlow Estimator is a high-level API that encapsulates model training, evaluation, prediction, and exporting.";
homepage = "http://tensorflow.org";
license = licenses.asl20;
maintainers = with maintainers; [ jyp ];
};
}