Skip to content

Commit 4e75dd8

Browse files
authored
python3Packages.qcengine: 0.31.0 -> 0.32.0 (#406724)
2 parents a603dd7 + 050c60a commit 4e75dd8

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

pkgs/development/python-modules/qcengine/default.nix

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,63 @@
22
lib,
33
buildPythonPackage,
44
fetchPypi,
5+
ipykernel,
6+
msgpack,
7+
networkx,
8+
nglview,
9+
numpy,
510
psutil,
611
py-cpuinfo,
712
pydantic,
813
pytestCheckHook,
9-
pythonOlder,
1014
pyyaml,
1115
qcelemental,
12-
msgpack,
16+
scipy,
17+
setuptools,
1318
}:
1419

1520
buildPythonPackage rec {
1621
pname = "qcengine";
17-
version = "0.31.0";
18-
format = "setuptools";
19-
20-
disabled = pythonOlder "3.7";
22+
version = "0.32.0";
23+
pyproject = true;
2124

2225
src = fetchPypi {
2326
inherit pname version;
24-
hash = "sha256-UXddmCObC1H4GQT1eUZEWXDwWg2dE5xaibVq+TAMHk8=";
27+
hash = "sha256-HvvWak7a2djF6wDJaHsBltaG1dTGbKH7wjsngO+fh2U=";
2528
};
2629

27-
propagatedBuildInputs = [
30+
build-system = [ setuptools ];
31+
32+
dependencies = [
33+
msgpack
34+
numpy
2835
psutil
2936
py-cpuinfo
3037
pydantic
3138
pyyaml
3239
qcelemental
33-
msgpack
3440
];
3541

36-
nativeCheckInputs = [ pytestCheckHook ];
42+
optional-dependencies = {
43+
align = [
44+
networkx
45+
scipy
46+
];
47+
viz = [
48+
ipykernel
49+
nglview
50+
];
51+
};
52+
53+
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (builtins.attrValues optional-dependencies);
3754

3855
pythonImportsCheck = [ "qcengine" ];
3956

4057
meta = with lib; {
4158
description = "Quantum chemistry program executor and IO standardizer (QCSchema) for quantum chemistry";
42-
mainProgram = "qcengine";
43-
homepage = "http://docs.qcarchive.molssi.org/projects/qcelemental/";
59+
homepage = "https://molssi.github.io/QCElemental/";
4460
license = licenses.bsd3;
4561
maintainers = with maintainers; [ sheepforce ];
62+
mainProgram = "qcengine";
4663
};
4764
}

0 commit comments

Comments
 (0)