50 lines
887 B
Nix
50 lines
887 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, psutil
|
|
, py-cpuinfo
|
|
, pydantic
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyyaml
|
|
, qcelemental
|
|
, msgpack
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qcengine";
|
|
version = "0.28.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ebZayF5VGHXjBFO3k2KegCNqAFygB3BXKvdvr8mF/Ss=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
psutil
|
|
py-cpuinfo
|
|
pydantic
|
|
pyyaml
|
|
qcelemental
|
|
msgpack
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"qcengine"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Quantum chemistry program executor and IO standardizer (QCSchema) for quantum chemistry";
|
|
homepage = "http://docs.qcarchive.molssi.org/projects/qcelemental/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ sheepforce ];
|
|
};
|
|
}
|