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

Message ID 20250330220745.25337-3-david.elsing@posteo.net
State New
Headers
Series Update rdkit to 2024.09.6 |

Commit Message

David Elsing March 30, 2025, 10:06 p.m. UTC
  * gnu/packages/boost.scm (boost-with-numpy): New variable.
---
 gnu/packages/boost.scm | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Patch

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")