Subject: [bug#77394] [PATCH 3/5] gnu: Add boost-with-numpy.

From: David Elsing <[email-masked]>
Date: Sun, 30 Mar 2025 22:06:56 +0000

* gnu/packages/boost.scm (boost-with-numpy): New variable.
---
 gnu/packages/boost.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 4f54c6b578..cd625e2cbb 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -50,6 +50,7 @@ (define-module (gnu packages boost)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages shells)
   #:use-module (gnu packages mpi))
 
@@ -359,6 +360,13 @@ (define-public boost-for-mysql
        (delete "python-minimal-wrapper")))
     (properties '((hidden? . #t)))))
 
+(define-public boost-with-numpy
+  (package
+    (inherit boost)
+    (native-inputs
+     (modify-inputs (package-native-inputs boost)
+       (append python-numpy)))))
+
 (define-public boost-sync
   (let ((commit "e690de2d30e2f1649ff500c9a6f3539814994b1c")
         (version "1.55")
-- 
2.48.1