From 77f98b94a36c27bf998c2c1ba8a01e592f7e656b Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:31:21 -0700 Subject: [PATCH] python3.pkgs.xarray: replace setuptoolsBuildHook with normal dependencies (#247852) --- pkgs/development/python-modules/xarray/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/xarray/default.nix b/pkgs/development/python-modules/xarray/default.nix index bf8b03aa0969..45e79fdd89d0 100644 --- a/pkgs/development/python-modules/xarray/default.nix +++ b/pkgs/development/python-modules/xarray/default.nix @@ -6,8 +6,9 @@ , pandas , pytestCheckHook , pythonOlder -, setuptoolsBuildHook +, setuptools , setuptools-scm +, wheel }: buildPythonPackage rec { @@ -22,11 +23,12 @@ buildPythonPackage rec { hash = "sha256-2s4v2/G3/xhdnBImokv4PCrlLzJT2/6A4X0RYmANBVw="; }; - SETUPTOOLS_SCM_PRETEND_VERSION = version; + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ - setuptoolsBuildHook + setuptools setuptools-scm + wheel ]; propagatedBuildInputs = [