pythonPackages.dftfit: cleanup, add import check
This commit is contained in:
parent
499ce18520
commit
0e9e705e4f
@ -12,11 +12,7 @@
|
|||||||
, lammps-cython
|
, lammps-cython
|
||||||
, pymatgen-lammps
|
, pymatgen-lammps
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, pytest
|
|
||||||
, pytestcov
|
|
||||||
, pytest-benchmark
|
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, openssh
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -25,18 +21,27 @@ buildPythonPackage rec {
|
|||||||
disabled = (!isPy3k);
|
disabled = (!isPy3k);
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "4dcbde48948835dcf2d49d6628c9df5747a8ec505d517e374b8d6c7fe95892df";
|
sha256 = "4dcbde48948835dcf2d49d6628c9df5747a8ec505d517e374b8d6c7fe95892df";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytestrunner ];
|
buildInputs = [ pytestrunner ];
|
||||||
checkInputs = [ pytest pytestcov pytest-benchmark openssh ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ pymatgen marshmallow pyyaml pygmo
|
pymatgen
|
||||||
pandas scipy numpy scikitlearn
|
marshmallow
|
||||||
lammps-cython pymatgen-lammps ];
|
pyyaml
|
||||||
|
pygmo
|
||||||
|
pandas
|
||||||
|
scipy
|
||||||
|
numpy
|
||||||
|
scikitlearn
|
||||||
|
lammps-cython
|
||||||
|
pymatgen-lammps
|
||||||
|
];
|
||||||
|
|
||||||
# tests require git lfs download. and is quite large so skip tests
|
# tests require git lfs download. and is quite large so skip tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "dftfit" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Ab-Initio Molecular Dynamics Potential Development";
|
description = "Ab-Initio Molecular Dynamics Potential Development";
|
||||||
|
Loading…
Reference in New Issue
Block a user