2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
buildPythonPackage,
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
poetry-core,
|
|
|
|
networkx,
|
|
|
|
numpy,
|
|
|
|
pint,
|
|
|
|
pydantic,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qcelemental";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.28.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
pyproject = true;
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-2pb924jBcB+BKyU2mmoWnTXy1URsN8YuhgSMsPGxaKI=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
propagatedBuildInputs = [
|
2022-07-14 12:49:19 +00:00
|
|
|
networkx
|
2021-12-06 16:07:01 +00:00
|
|
|
numpy
|
|
|
|
pint
|
2022-07-14 12:49:19 +00:00
|
|
|
pydantic
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "qcelemental" ];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-09-26 11:04:55 +00:00
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2022-07-14 12:49:19 +00:00
|
|
|
description = "Periodic table, physical constants and molecule parsing for quantum chemistry";
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://github.com/MolSSI/QCElemental";
|
|
|
|
changelog = "https://github.com/MolSSI/QCElemental/blob/v${version}/docs/changelog.rst";
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.bsd3;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ sheepforce ];
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
}
|