pythonPackages.phonopy:init at 1.13.2.13

This commit is contained in:
Assassinkin 2018-07-11 18:23:35 +01:00
parent 7487510d04
commit 1e1cf4f18c
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, buildPythonPackage, python, fetchPypi, numpy, pyyaml, matplotlib, h5py }:
buildPythonPackage rec {
pname = "phonopy";
version = "1.13.2.13";
src = fetchPypi {
inherit pname version;
sha256 = "23970ecdf698e743f9204711e8edfbb33c97667f5f88c7bda3322abbc91d0682";
};
propagatedBuildInputs = [ numpy pyyaml matplotlib h5py ];
checkPhase = ''
cd test/phonopy
${python.interpreter} -m unittest discover -b
cd ../..
'';
meta = with stdenv.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 ];
};
}

View File

@ -348,6 +348,8 @@ in {
pdfx = callPackage ../development/python-modules/pdfx { };
phonopy = callPackage ../development/python-modules/phonopy { };
plantuml = callPackage ../tools/misc/plantuml { };
Pmw = callPackage ../development/python-modules/Pmw { };