2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
psutil,
|
|
|
|
py-cpuinfo,
|
|
|
|
pydantic,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
pyyaml,
|
|
|
|
qcelemental,
|
|
|
|
msgpack,
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qcengine";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.29.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-cIfX9MpRMXtBfLKHKTzCLkv31fBIyanTQHEs8hHk7aQ=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
psutil
|
|
|
|
py-cpuinfo
|
|
|
|
pydantic
|
2021-05-28 09:39:13 +00:00
|
|
|
pyyaml
|
|
|
|
qcelemental
|
2023-10-09 19:29:22 +00:00
|
|
|
msgpack
|
2021-05-28 09:39:13 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "qcengine" ];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Quantum chemistry program executor and IO standardizer (QCSchema) for quantum chemistry";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "qcengine";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "http://docs.qcarchive.molssi.org/projects/qcelemental/";
|
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
|
|
|
};
|
|
|
|
}
|