summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 15:36:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:03 +0300
commit84a232bf710a2d008e020a2c1c0f67c7d2db8e37 (patch)
tree37e160b5841779ad7e40db9513ec1e0cf40438f0 /gnu
parentc4455f7d201d7207d7a55bfd2e49b800e800cd2f (diff)
downloadpatches-84a232bf710a2d008e020a2c1c0f67c7d2db8e37.tar
patches-84a232bf710a2d008e020a2c1c0f67c7d2db8e37.tar.gz
gnu: Add rust-cblas-sys.
* gnu/packages/crates-io.scm (rust-cblas-sys): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4db89c77c0..597b151c2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -135,6 +135,28 @@ behave like a set of bitflags.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cblas-sys
+ (package
+ (name "rust-cblas-sys")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cblas-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc))))
+ (home-page "https://github.com/blas-lapack-rs/cblas-sys")
+ (synopsis "Bindings to CBLAS (C)")
+ (description
+ "The package provides bindings to CBLAS (C).")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-cfg-if
(package
(name "rust-cfg-if")