python310Packages.phonopy: disable on older Python releases

- update meta
- add pythonImportsCheck
This commit is contained in:
Fabian Affolter 2022-10-06 09:04:59 +02:00 committed by GitHub
parent f3e2229456
commit ba25a663fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,15 +8,19 @@
, scipy
, spglib
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "phonopy";
version = "2.16.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xTbTVRVmJvJuXV/RWLA+EMShPEYdagKiawXjtjEbnXk=";
hash = "sha256-xTbTVRVmJvJuXV/RWLA+EMShPEYdagKiawXjtjEbnXk=";
};
propagatedBuildInputs = [
@ -37,9 +41,13 @@ buildPythonPackage rec {
rm -r phonopy
'';
pythonImportsCheck = [
"phonopy"
];
meta = with lib; {
description = "A package for phonon calculations at harmonic and quasi-harmonic levels";
homepage = "https://atztogo.github.io/phonopy/";
description = "Modulefor phonon calculations at harmonic and quasi-harmonic levels";
homepage = "https://phonopy.github.io/phonopy/";
license = licenses.bsd0;
maintainers = with maintainers; [ psyanticy ];
};