mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cl-random: Use cl-numerical-utils instead of cl-num-utils.
* gnu/packages/lisp-xyz.scm (sbcl-cl-random)[inputs]: Remove sbcl-cl-num-utils. Add sbcl-numerical-utilities. [arguments]: Add 'fix-build' phase. Change-Id: Ied310b6246480725e29764164f8d4c21169feb07
This commit is contained in:
parent
dd5589ea8c
commit
ced3ead079
1 changed files with 19 additions and 2 deletions
|
@ -8987,14 +8987,31 @@ generation functions from the GSL library.")
|
|||
(list sbcl-alexandria
|
||||
sbcl-anaphora
|
||||
sbcl-array-operations
|
||||
sbcl-cl-num-utils
|
||||
sbcl-cl-rmath
|
||||
sbcl-cl-slice
|
||||
sbcl-gsll
|
||||
sbcl-let-plus
|
||||
sbcl-lla))
|
||||
sbcl-lla
|
||||
sbcl-numerical-utilities))
|
||||
(native-inputs
|
||||
(list sbcl-clunit))
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-build
|
||||
;; Fixes to use numerical-utils instead of the deprecated
|
||||
;; cl-num-utils.
|
||||
(lambda _
|
||||
(substitute* (list "cl-random.asd"
|
||||
"src/package.lisp")
|
||||
(("cl-num-utils")
|
||||
"num-utils"))
|
||||
(substitute* (list "src/continuous-time.lisp"
|
||||
"src/internals.lisp"
|
||||
"src/random.lisp"
|
||||
"src/univariate.lisp")
|
||||
(("clnu:")
|
||||
"nu:")))))))
|
||||
(home-page "https://github.com/tpapp/cl-random")
|
||||
(synopsis "Random variates for Common Lisp")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue