5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
bibtexparser,
|
|
buildPythonPackage,
|
|
cdcs,
|
|
datamodeldict,
|
|
fetchPypi,
|
|
habanero,
|
|
ipywidgets,
|
|
lxml,
|
|
matplotlib,
|
|
numpy,
|
|
pandas,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
requests,
|
|
scipy,
|
|
setuptools,
|
|
unidecode,
|
|
xmltodict,
|
|
yabadaba,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "potentials";
|
|
version = "0.3.8";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
bibtexparser
|
|
cdcs
|
|
datamodeldict
|
|
habanero
|
|
ipywidgets
|
|
lxml
|
|
matplotlib
|
|
numpy
|
|
pandas
|
|
requests
|
|
scipy
|
|
unidecode
|
|
xmltodict
|
|
yabadaba
|
|
];
|
|
|
|
# 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";
|
|
changelog = "https://github.com/usnistgov/potentials/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|