blob: e68516fb07f7b24854ff9933ced7b3f798afaf7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pyyaml
, matplotlib
, h5py
, spglib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "phonopy";
version = "2.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "1jaizhkb59ixknvc75nrhfq51bh75912q8ay36bxpf4g5hzyhw3a";
};
propagatedBuildInputs = [ numpy pyyaml matplotlib h5py spglib ];
checkInputs = [ pytestCheckHook ];
# prevent pytest from importing local directory
preCheck = ''
rm -r phonopy
'';
meta = with lib; {
description = "A package for phonon calculations at harmonic and quasi-harmonic levels";
homepage = "https://atztogo.github.io/phonopy/";
license = licenses.bsd0;
maintainers = with maintainers; [ psyanticy ];
};
}
|