2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, bibtexparser
|
|
|
|
, buildPythonPackage
|
|
|
|
, cdcs
|
|
|
|
, datamodeldict
|
|
|
|
, fetchPypi
|
|
|
|
, habanero
|
|
|
|
, ipywidgets
|
|
|
|
, lxml
|
|
|
|
, matplotlib
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, scipy
|
|
|
|
, unidecode
|
|
|
|
, xmltodict
|
2022-04-03 18:54:34 +00:00
|
|
|
, yabadaba
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.3.6";
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "potentials";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-VEPGa3Wp+B3KterfA5XGjaDf6sIAkSST0GWdeqaJcE0=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bibtexparser
|
|
|
|
cdcs
|
|
|
|
datamodeldict
|
|
|
|
habanero
|
|
|
|
ipywidgets
|
|
|
|
lxml
|
|
|
|
matplotlib
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
requests
|
|
|
|
scipy
|
|
|
|
unidecode
|
|
|
|
xmltodict
|
2022-04-03 18:54:34 +00:00
|
|
|
yabadaba
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"potentials"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
|
|
|
|
homepage = "https://github.com/usnistgov/potentials";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|