pythonPackages.dftfit: cleanup, add import check

This commit is contained in:
Sandro Jäckel 2021-02-15 23:52:36 +01:00
parent 499ce18520
commit 0e9e705e4f
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -12,11 +12,7 @@
, lammps-cython
, pymatgen-lammps
, pytestrunner
, pytest
, pytestcov
, pytest-benchmark
, isPy3k
, openssh
}:
buildPythonPackage rec {
@ -30,13 +26,22 @@ buildPythonPackage rec {
};
buildInputs = [ pytestrunner ];
checkInputs = [ pytest pytestcov pytest-benchmark openssh ];
propagatedBuildInputs = [ pymatgen marshmallow pyyaml pygmo
pandas scipy numpy scikitlearn
lammps-cython pymatgen-lammps ];
propagatedBuildInputs = [
pymatgen
marshmallow
pyyaml
pygmo
pandas
scipy
numpy
scikitlearn
lammps-cython
pymatgen-lammps
];
# tests require git lfs download. and is quite large so skip tests
doCheck = false;
pythonImportsCheck = [ "dftfit" ];
meta = {
description = "Ab-Initio Molecular Dynamics Potential Development";