summaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorReza Housseini <reza@housseini.me>2025-11-19 11:33:02 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-25 22:30:34 +0100
commitf5079ae69e23a39b8bec9d828569bcb60d0ffc82 (patch)
treec120686c06046d236d9a21955bf5c848b7c8d375 /gnu/packages/maths.scm
parent2a2fe7705e9f881a8a76b4b74df96784f793af54 (diff)
gnu: nlopt: Fix python bindings.
* gnu/packages/maths.scm (nlopt)[inputs]: Move python... [native-inputs]: ...here. Add python-numpy. Change-Id: I38b976a65aed412863a5a7cd498c7f2ddcc79b55 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4fac7230a66..2b48cf8c6d0 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2664,8 +2664,8 @@ with the provided training tools.")
""
,(format #f "~a/lib/guile/3.0/extensions/" out))))))
(setenv "NLOPT_UNINSTALLED" "1")))))))
- (inputs (list guile-3.0 octave python))
- (native-inputs (list pkg-config swig-4.0))
+ (inputs (list guile-3.0 octave))
+ (native-inputs (list pkg-config python python-numpy swig-4.0))
(home-page "http://ab-initio.mit.edu/wiki/")
(synopsis "Library for nonlinear optimization")
(description "NLopt is a library for nonlinear optimization, providing a