python3Packages.phonopy: 2.47.1 -> 3.2.1
Diff: https://github.com/phonopy/phonopy/compare/v2.47.1...v3.2.1 Changelog: http://phonopy.github.io/phonopy/changelog.html
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
ninja,
|
||||
numpy,
|
||||
scikit-build-core,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# dependencies
|
||||
@@ -23,25 +22,29 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "phonopy";
|
||||
version = "2.47.1";
|
||||
version = "3.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phonopy";
|
||||
repo = "phonopy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-zHEhYzSQKGre3LLtY555F3oTA8BowBy6InU79Mn2Cxo=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-JSLwABXVYhGm9nb4W9M0AKCU98grBpfyHp5JB8KcIJc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "nanobind<2.10.0" "nanobind"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cmake
|
||||
nanobind
|
||||
ninja
|
||||
numpy
|
||||
scikit-build-core
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
dontUseCmakeConfigure = true;
|
||||
@@ -75,4 +78,4 @@ buildPythonPackage rec {
|
||||
chn
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user