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-08-21 13:32:41 +00:00
|
|
|
version = "0.24.1";
|
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-08-21 13:32:41 +00:00
|
|
|
hash = "sha256-KUOGbGQd1ffXNkQiW8yeUxValCOAfd8nBv9nnk9giVU=";
|
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
|
|
|
};
|
|
|
|
}
|