2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-12-06 16:07:01 +00:00
|
|
|
, fetchPypi
|
|
|
|
, psutil
|
|
|
|
, py-cpuinfo
|
|
|
|
, pydantic
|
2022-07-14 12:49:19 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
2021-12-06 16:07:01 +00:00
|
|
|
, pyyaml
|
|
|
|
, qcelemental
|
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qcengine";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "0.26.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;
|
2022-12-17 10:02:37 +00:00
|
|
|
hash = "sha256-jBA3exH/qzEaKZeumvgKD0tKnDptZdlv1KykyUHs8Bg=";
|
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
|
|
|
|
];
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2022-07-14 12:49:19 +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";
|
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
|
|
|
};
|
|
|
|
}
|