gnu: Add cl-ana.hdf-cffi.

* gnu/packages/lisp-xyz.scm (sbcl-cl-ana.hdf-cffi, cl-ana.hdf-cffi,
  ecl-cl-ana.hdf-cffi): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Katherine Cox-Buday 2020-01-03 17:23:59 +01:00 committed by Guillaume Le Vaillant
parent eac5d1dd4c
commit 769015b9d7
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -8171,3 +8171,30 @@ (define-public cl-ana.table-utils
(define-public ecl-cl-ana.table-utils
(sbcl-package->ecl-package sbcl-cl-ana.table-utils))
(define-public sbcl-cl-ana.hdf-cffi
(package
(inherit sbcl-cl-ana-boot0)
(name "sbcl-cl-ana.hdf-cffi")
(inputs
`(("cffi" ,sbcl-cffi)
("hdf5" ,hdf5-parallel-openmpi)))
(arguments
(substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
((#:asd-file _ "") "hdf-cffi/cl-ana.hdf-cffi.asd")
((#:asd-system-name _ #f) "cl-ana.hdf-cffi")
((#:phases phases '%standard-phases)
`(modify-phases ,phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "hdf-cffi/hdf-cffi.lisp"
(("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
(string-append
(assoc-ref inputs "hdf5")
"/lib/libhdf5.so")))))))))))
(define-public cl-ana.hdf-cffi
(sbcl-package->cl-source-package sbcl-cl-ana.hdf-cffi))
(define-public ecl-cl-ana.hdf-cffi
(sbcl-package->ecl-package sbcl-cl-ana.hdf-cffi))