me
/
guix
Archived
1
0
Fork 0

gnu: cl-ana: Update to 0.0.0-2.848185e.

* gnu/packages/lisp-xyz.scm (sbcl-cl-ana): Update to 0.0.0-2.848185e.
  [inputs]: Use new style.
  [native-inputs]: Add openmpi and pkg-config.
  [propagated-inputs]: Add gnuplot.
  [arguments]: Update 'fix-paths' phase.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
master
Sharlatan Hellseher 2021-12-21 22:18:04 +00:00 committed by Guillaume Le Vaillant
parent 7682145b9b
commit 7f6260d9fe
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 50 additions and 48 deletions

View File

@ -85,6 +85,7 @@
#:use-module (gnu packages lisp-check) #:use-module (gnu packages lisp-check)
#:use-module (gnu packages maths) #:use-module (gnu packages maths)
#:use-module (gnu packages mp3) #:use-module (gnu packages mp3)
#:use-module (gnu packages mpi)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages networking) #:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
@ -8103,8 +8104,8 @@ sacrificing much in the way of power.")
(sbcl-package->ecl-package sbcl-external-program)) (sbcl-package->ecl-package sbcl-external-program))
(define-public sbcl-cl-ana (define-public sbcl-cl-ana
(let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9") (let ((commit "848185eed1ed65bab3a124870c122f761ce0d87e")
(revision "1")) (revision "2"))
(package (package
(name "sbcl-cl-ana") (name "sbcl-cl-ana")
(version (git-version "0.0.0" revision commit)) (version (git-version "0.0.0" revision commit))
@ -8114,39 +8115,40 @@ sacrificing much in the way of power.")
(uri (git-reference (uri (git-reference
(url "https://github.com/ghollisjr/cl-ana") (url "https://github.com/ghollisjr/cl-ana")
(commit commit))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name "cl-ana" version))
(sha256 (sha256
(base32 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh")))) (base32 "026agqsxq3pg2k9jmy2wysil2z0yn5rykzzhr8rqxsspdwz51z1y"))))
(build-system asdf-build-system/sbcl) (build-system asdf-build-system/sbcl)
(native-inputs (native-inputs
(list sbcl-cl-fad)) (list openmpi ;; for hdf-cffi
pkg-config
sbcl-cl-fad))
(inputs (inputs
`(("alexandria" ,sbcl-alexandria) (list gsl
("antik" ,sbcl-antik) hdf5-parallel-openmpi
("cffi" ,sbcl-cffi) libffi
("cl-csv" ,sbcl-cl-csv) sbcl-antik
("closer-mop" ,sbcl-closer-mop) sbcl-cffi
("external-program" ,sbcl-external-program) sbcl-cl-csv
("gsl" ,gsl) sbcl-closer-mop
("gsll" ,sbcl-gsll) sbcl-external-program
("hdf5" ,hdf5-parallel-openmpi) sbcl-gsll
("iterate" ,sbcl-iterate) sbcl-iterate
("libffi" ,libffi) sbcl-alexandria
("split-sequence" ,sbcl-split-sequence))) sbcl-split-sequence))
(propagated-inputs
(list gnuplot)) ;; for gnuplot-interface
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "hdf-cffi/hdf-cffi.lisp" (substitute* "hdf-cffi/src/library.lisp"
(("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so") (("libhdf5.so")
(search-input-file inputs "/lib/libhdf5.so"))) (search-input-file inputs "/lib/libhdf5.so")))
(substitute* "gsl-cffi/gsl-cffi.lisp" (substitute* "gsl-cffi/gsl-cffi.lisp"
(("define-foreign-library gsl-cffi" all) (("libgsl.so")
(string-append all " (:unix " (search-input-file inputs "/lib/libgsl.so"))))))))
(assoc-ref inputs "gsl")
"/lib/libgsl.so)")))
#t)))))
(synopsis "Common Lisp data analysis library") (synopsis "Common Lisp data analysis library")
(description (description
"CL-ANA is a data analysis library in Common Lisp providing tabular and "CL-ANA is a data analysis library in Common Lisp providing tabular and