Skip to content

Commit

Permalink
python3Packages.tblite: add setuptools for python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepforce committed Dec 20, 2024
1 parent 793f434 commit 0f78970
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions pkgs/development/libraries/science/chemistry/tblite/python.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonAtLeast,
meson,
ninja,
pkg-config,
Expand All @@ -28,18 +27,15 @@ buildPythonPackage {
meta
;

nativeBuildInputs =
[
tblite
meson
ninja
pkg-config
gfortran
mctc-lib
]
++ lib.optionals (pythonAtLeast "3.12") [
setuptools
];
nativeBuildInputs = [
tblite
meson
ninja
pkg-config
gfortran
mctc-lib
setuptools
];

buildInputs = [
tblite
Expand Down

0 comments on commit 0f78970

Please sign in to comment.