nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchPypi, buildPythonPackage
2, numpy
3, absl-py
4, mock
5}:
6
7buildPythonPackage rec {
8 pname = "tensorflow-estimator";
9 version = "2.8.0";
10 format = "wheel";
11
12 src = fetchPypi {
13 pname = "tensorflow_estimator";
14 inherit version format;
15 hash = "sha256-vujgUgxgrn6vbKjLRsWp9LRXJVMTgNuPvjj8tIR4trs=";
16 };
17
18 propagatedBuildInputs = [ mock numpy absl-py ];
19
20 meta = with 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