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
|
|
|
|
, pytestCheckHook
|
2022-07-14 12:49:19 +00:00
|
|
|
, pythonOlder
|
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qcelemental";
|
2022-11-02 22:02:43 +00:00
|
|
|
version = "0.25.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-11-02 22:02:43 +00:00
|
|
|
hash = "sha256-4+DlP+BH0UdWcYRBBApdc3E18L2zPvsdY6GTW5WCGnQ=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|