gnu: pybind11: Add dependency on Catch and Eigen.
* gnu/packages/python-xyz.scm (pybind11)[inputs]: Add CATCH-FRAMEWORK2-1 and EIGEN. [arguments]: Add #:configure-flags.
This commit is contained in:
parent
0690f3244e
commit
ae8db9ce32
1 changed files with 12 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2019 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2014, 2015, 2016, 2019 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014, 2017 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2017 Eric Bavier <bavier@member.fsf.org>
|
||||||
|
@ -15408,9 +15408,18 @@ under Python 2.7.")
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python)
|
`(("python" ,python)
|
||||||
("python-pytest" ,python-pytest)))
|
|
||||||
|
;; The following dependencies are used for tests.
|
||||||
|
("python-pytest" ,python-pytest)
|
||||||
|
("catch" ,catch-framework2-1)
|
||||||
|
("eigen" ,eigen)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "check"))
|
`(#:configure-flags
|
||||||
|
(list (string-append "-DCATCH_INCLUDE_DIR="
|
||||||
|
(assoc-ref %build-inputs "catch")
|
||||||
|
"/include/catch"))
|
||||||
|
|
||||||
|
#:test-target "check"))
|
||||||
(home-page "https://github.com/pybind/pybind11/")
|
(home-page "https://github.com/pybind/pybind11/")
|
||||||
(synopsis "Seamless operability between C++11 and Python")
|
(synopsis "Seamless operability between C++11 and Python")
|
||||||
(description "pybind11 is a lightweight header-only library that exposes
|
(description "pybind11 is a lightweight header-only library that exposes
|
||||||
|
|
Reference in a new issue