From 6e82927b94736bb5ac42260fd0e7284eb95a4c03 Mon Sep 17 00:00:00 2001 From: chn Date: Fri, 8 Nov 2024 23:44:48 +0800 Subject: [PATCH] python312Packages.phonopy: 2.28.0 -> 2.29.1, fix build --- .../python-modules/phonopy/default.nix | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/phonopy/default.nix b/pkgs/development/python-modules/phonopy/default.nix index 3e7629a31335..a00929e3d16c 100644 --- a/pkgs/development/python-modules/phonopy/default.nix +++ b/pkgs/development/python-modules/phonopy/default.nix @@ -11,21 +11,35 @@ pytestCheckHook, pythonOlder, setuptools, + scikit-build-core, + cmake, + setuptools-scm, + ninja, + pkg-config, + nanobind, }: buildPythonPackage rec { pname = "phonopy"; - version = "2.28.0"; + version = "2.29.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-3BxFOT/nXuK++epTghrQxDm19JTMJm33D4uSQ/KS+aE="; + hash = "sha256-MabBtEOyM82R0NbdVaY+2f9GT8rT44xjOi/o38GSRp8="; }; - nativeBuildInputs = [ setuptools ]; + nativeBuildInputs = [ + setuptools + scikit-build-core + nanobind + setuptools-scm + ninja + cmake + ]; + dontUseCmakeConfigure = true; propagatedBuildInputs = [ h5py