python310Packages.phonopy: disable on older Python releases
- update meta - add pythonImportsCheck
This commit is contained in:
parent
f3e2229456
commit
ba25a663fa
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user