2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv
|
2022-07-14 12:49:19 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2021-12-06 16:07:01 +00:00
|
|
|
, networkx
|
|
|
|
, numpy
|
|
|
|
, pint
|
|
|
|
, pydantic
|
2023-10-09 19:29:22 +00:00
|
|
|
, poetry-core
|
2021-12-06 16:07:01 +00:00
|
|
|
, pytestCheckHook
|
2022-07-14 12:49:19 +00:00
|
|
|
, pythonOlder
|
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qcelemental";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.26.0";
|
|
|
|
|
|
|
|
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;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-oU6FEM2/2mRe8UYcGv0C77WZMRcz27pfg/zR1haKbd0=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
|
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
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-07-14 12:49:19 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"qcelemental"
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2022-07-14 12:49:19 +00:00
|
|
|
description = "Periodic table, physical constants and molecule parsing for quantum chemistry";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|