diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-04-29 10:09:32 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-05-05 22:38:15 +0200 |
commit | 82f83cafb9087dc3ed3bfe1e94132c8bd2605f00 (patch) | |
tree | d2aa2fa716526418e27fe949b27ccfc3eff47217 | |
parent | c9d9b9572b742d53be77ed0c5a005692232a82f6 (diff) | |
download | guix-82f83cafb9087dc3ed3bfe1e94132c8bd2605f00.tar.gz guix-82f83cafb9087dc3ed3bfe1e94132c8bd2605f00.zip |
gnu: Add rust-lapack-sys-0.14.
* gnu/packages/crates-io.scm (rust-lapack-sys-0.14): New variable.
Change-Id: Id8fa94a06c231f3864040d2c428ac81042803adf
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a67d3d74bb..650f3650e6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -99,6 +99,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages mail) + #:use-module (gnu packages maths) #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) @@ -32973,6 +32974,33 @@ generated by LALRPOP.") (sha256 (base32 "0z4bjn3g9232n1im5p6mn9mwlvw5aj5iac6hbjmljqxkhf3d2xy2")))))) +(define-public rust-lapack-sys-0.14 + (package + (name "rust-lapack-sys") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lapack-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gmw6fn4zc6106pzpi88p79b260h7hav40b7sfisf45lbz45czs4")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "lapack") + (substitute* "bin/wrapper.h" + (("\"../lapack/LAPACKE/include/lapack.h\"") + "<lapack.h>")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (inputs (list lapack)) + (home-page "https://github.com/blas-lapack-rs/lapack-sys") + (synopsis "Rust bindings to LAPACK (Fortran)") + (description "The package provides bindings to LAPACK (Fortran).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-lazy-bytes-cast-5 (package (name "rust-lazy-bytes-cast") |