gnu: liblantern: Update to 0.10.0.

* gnu/packages/machine-learning.scm (liblantern): Update to 0.10.0.
[arguments]: Adjust build phase.
This commit is contained in:
Ricardo Wurmus 2023-04-17 11:00:02 +02:00
parent ea6d2582c8
commit 93825a326c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3500,7 +3500,7 @@ (define-public python-hmmlearn
(define-public liblantern
(package
(name "liblantern")
(version "0.9.1")
(version "0.10.0")
(source
(origin
(method git-fetch)
@ -3509,7 +3509,7 @@ (define-public liblantern
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rycs7fgm03fxp8lxj8ljrdwy5whxd4554xzklbcmn4mcwbxgg57"))))
(base32 "12480fac9xq7rgw0q5f2cnvmakhakjsnq1gvh2ncjfwxz34n8fl7"))))
(build-system cmake-build-system)
(arguments
(list
@ -3518,7 +3518,7 @@ (define-public liblantern
(let ((python-version (version-major+minor (package-version python))))
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "lantern")))
(lambda _ (chdir "src/lantern")))
(add-after 'chdir 'do-not-download-binaries
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "CMakeLists.txt"