nixpkgs/pkgs/development/python-modules/flatbuffers/default.nix
Alexander Tsvyashchenko 69d1e62b36 python3Packages.tensorflow_2: 2.3.2 -> 2.4.0
Also the following related changes:
* Removed Python 2 support because it's not supported by TF and related packages for a long time.
* Upgraded tensorboard and estimator packages to the required versions.
* Added extra plugins for tensorboard to support profiling.
* In the previous derivation versions, TF_SYSTEM_LIBS didn't have any effect because it was reset at repo fetching stage, so TF always used its own dependencies. Made TF_SYSTEM_LIBS actually work and fixed the errors caused by enabling it.
* Enabled tensorboard by default (but still keeping an option to disable it if needed).
2021-01-11 00:30:43 +01:00

22 lines
536 B
Nix

{ stdenv
, buildPythonPackage
, flatbuffers
}:
buildPythonPackage rec {
inherit (flatbuffers) pname version src;
sourceRoot = "source/python";
# flatbuffers needs VERSION environment variable for setting the correct
# version, otherwise it uses the current date.
VERSION = "${version}";
pythonImportsCheck = [ "flatbuffers" ];
meta = flatbuffers.meta // {
description = "Python runtime library for use with the Flatbuffers serialization format";
maintainers = with stdenv.lib.maintainers; [ wulfsta ];
};
}