gnu: python-scikit-build: Install cmake modules.

* gnu/packages/python-xyz.scm (python-scikit-build)[#:phases]: Add
‘install-cmake’.
This commit is contained in:
Liliana Marie Prikler 2024-02-24 07:57:07 +01:00
parent d1ecd3c67c
commit 1bd9cbe27f
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 9 additions and 1 deletions

View File

@ -32058,7 +32058,15 @@ and frame grabber interface.")
;; nondeterministically (see:
;; https://github.com/scikit-build/scikit-build/issues/711).
"and not test_generator_cleanup "
"and not test_generator_selection "))))))))
"and not test_generator_selection ")))))
(add-after 'install 'install-cmake
(lambda* (#:key outputs #:allow-other-keys)
(let ((lib (string-append (assoc-ref outputs "out")
"/lib/cmake/modules")))
(mkdir-p lib)
(with-directory-excursion "skbuild/resources/cmake"
(for-each (lambda (file) (install-file file lib))
(find-files "." "\\.cmake")))))))))
(native-inputs
(list cmake-minimal
gfortran