mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python3Packages.tensorflow-datasets: fix build
This commit is contained in:
@@ -75,6 +75,13 @@ buildPythonPackage (finalAttrs: {
|
||||
hash = "sha256-nq0c5hBTVwkxCRvWxtnfI+AHD+URY+nNfZAurEGaLXk=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
# The git checkout ships the development `version.py`, which appends a `+nightly` suffix.
|
||||
# Upstream replaces it with `version_stable.py` for stable releases.
|
||||
''
|
||||
cp tensorflow_datasets/version_stable.py tensorflow_datasets/version.py
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
packaging
|
||||
setuptools
|
||||
|
||||
Reference in New Issue
Block a user