diff options
author | Katherine Cox-Buday <cox.katherine.e@gmail.com> | 2020-01-03 18:09:01 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2020-01-03 20:45:45 +0100 |
commit | cd874248e13e981865e9e69f06be31af831c5d1a (patch) | |
tree | 589c086ffb59e9a3907063b1260662454fae92fb /gnu/packages | |
parent | 8e2c140c03285dc4c5567aaf9191b34ccc89d92c (diff) | |
download | patches-cd874248e13e981865e9e69f06be31af831c5d1a.tar patches-cd874248e13e981865e9e69f06be31af831c5d1a.tar.gz |
gnu: Add cl-ana.gsl-cffi.
* gnu/packages/lisp-xyz.scm (sbcl-cl-ana.gsl-cffi, cl-ana.gsl-cffi,
ecl-cl-ana.gsl-cffi): New variables.
Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 4f91975006..9fece97139 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -8351,3 +8351,30 @@ visualization.") (define-public ecl-cl-ana.hdf-table (sbcl-package->ecl-package sbcl-cl-ana.hdf-table)) + +(define-public sbcl-cl-ana.gsl-cffi + (package + (inherit sbcl-cl-ana-boot0) + (name "sbcl-cl-ana.gsl-cffi") + (inputs + `(("cffi" ,sbcl-cffi) + ("gsl" ,gsl))) + (arguments + (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0) + ((#:asd-file _ "") "gsl-cffi/cl-ana.gsl-cffi.asd") + ((#:asd-system-name _ #f) "cl-ana.gsl-cffi") + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "gsl-cffi/gsl-cffi.lisp" + (("define-foreign-library gsl-cffi" all) + (string-append all " (:unix " + (assoc-ref inputs "gsl") + "/lib/libgsl.so)"))))))))))) + +(define-public cl-ana.gsl-cffi + (sbcl-package->cl-source-package sbcl-cl-ana.gsl-cffi)) + +(define-public ecl-cl-ana.gsl-cffi + (sbcl-package->ecl-package sbcl-cl-ana.gsl-cffi)) |