Merge pull request #168495 from r-ryantm/auto-update/python310Packages.boltztrap2
This commit is contained in:
commit
9f3d74f68d
|
@ -14,32 +14,45 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "22.3.2";
|
||||
pname = "BoltzTraP2";
|
||||
pname = "boltztrap2";
|
||||
version = "22.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Yo37xdXxCQKkA+lrFEZp1DxjJy216Q6aYYT68PEx9JU=";
|
||||
pname = "BoltzTraP2";
|
||||
inherit version;
|
||||
hash = "sha256-lGwKHWAslCmb9bVQELHD6kAay+dnieiNsSAfAyNFLPM=";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = [ cmake cython ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ spglib numpy scipy matplotlib ase netcdf4 ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
spglib
|
||||
numpy
|
||||
scipy
|
||||
matplotlib
|
||||
ase
|
||||
netcdf4
|
||||
];
|
||||
|
||||
# pypi release does no include files for tests
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
pythonImportsCheck = [
|
||||
"BoltzTraP2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.boltztrap.org/";
|
||||
description = "Band-structure interpolator and transport coefficient calculator";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
homepage = "http://www.boltztrap.org/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue