2018-08-10 21:47:46 +01:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pymatgen
|
|
|
|
, marshmallow
|
|
|
|
, pyyaml
|
|
|
|
, pygmo
|
|
|
|
, pandas
|
|
|
|
, scipy
|
|
|
|
, numpy
|
|
|
|
, scikitlearn
|
|
|
|
, lammps-cython
|
|
|
|
, pymatgen-lammps
|
|
|
|
, pytestrunner
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dftfit";
|
2019-10-16 10:43:05 +01:00
|
|
|
version = "0.5.1";
|
2018-08-10 21:47:46 +01:00
|
|
|
disabled = (!isPy3k);
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-02-15 22:52:36 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "4dcbde48948835dcf2d49d6628c9df5747a8ec505d517e374b8d6c7fe95892df";
|
2018-08-10 21:47:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytestrunner ];
|
2021-02-15 22:52:36 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pymatgen
|
|
|
|
marshmallow
|
|
|
|
pyyaml
|
|
|
|
pygmo
|
|
|
|
pandas
|
|
|
|
scipy
|
|
|
|
numpy
|
|
|
|
scikitlearn
|
|
|
|
lammps-cython
|
|
|
|
pymatgen-lammps
|
|
|
|
];
|
2018-08-10 21:47:46 +01:00
|
|
|
|
|
|
|
# tests require git lfs download. and is quite large so skip tests
|
|
|
|
doCheck = false;
|
2021-02-15 22:52:36 +00:00
|
|
|
pythonImportsCheck = [ "dftfit" ];
|
2018-08-10 21:47:46 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Ab-Initio Molecular Dynamics Potential Development";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.com/costrouc/dftfit";
|
2018-08-10 21:47:46 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|