python312Packages.qcelemental: 0.28.0 -> 0.29.0

https://github.com/MolSSI/QCElemental/blob/v0.29.0/docs/changelog.rst

+20 -7
+20 -7
pkgs/development/python-modules/qcelemental/default.nix
··· 4 4 lib, 5 5 fetchPypi, 6 6 poetry-core, 7 + ipykernel, 7 8 networkx, 8 9 numpy, 10 + packaging, 9 11 pint, 10 12 pydantic, 11 13 pytestCheckHook, 12 14 pythonOlder, 15 + scipy, 13 16 }: 14 17 15 18 buildPythonPackage rec { 16 19 pname = "qcelemental"; 17 - version = "0.28.0"; 18 - 20 + version = "0.29.0"; 19 21 pyproject = true; 20 22 21 23 disabled = pythonOlder "3.7"; 22 24 23 25 src = fetchPypi { 24 26 inherit pname version; 25 - hash = "sha256-2pb924jBcB+BKyU2mmoWnTXy1URsN8YuhgSMsPGxaKI="; 27 + hash = "sha256-v2NO5lLn2V6QbikZiVEyJCM7HXBcJq/qyG5FHzFrPAQ="; 26 28 }; 27 29 28 - nativeBuildInputs = [ poetry-core ]; 30 + build-system = [ poetry-core ]; 29 31 30 - propagatedBuildInputs = [ 31 - networkx 32 + dependencies = [ 32 33 numpy 34 + packaging 33 35 pint 34 36 pydantic 35 37 ]; 36 38 37 - nativeCheckInputs = [ pytestCheckHook ]; 39 + optional-dependencies = { 40 + viz = [ 41 + # TODO: nglview 42 + ipykernel 43 + ]; 44 + align = [ 45 + networkx 46 + scipy 47 + ]; 48 + }; 49 + 50 + nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); 38 51 39 52 pythonImportsCheck = [ "qcelemental" ]; 40 53