blob: 2ca29ffd8e3df9a0685e93bbd9e080de306329ce (
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.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "58485042ab7d88fc8b83744d18b2aefd677adb071c8a717ac3710458192743d7";
};
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 ];
};
}
|