[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/41: gnu: Add rust-netlib-src.
From: |
guix-commits |
Subject: |
18/41: gnu: Add rust-netlib-src. |
Date: |
Fri, 6 Sep 2019 08:47:28 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 5b15d635eddda7708d68a224f4df50e1c866f92d
Author: Efraim Flashner <address@hidden>
Date: Thu Sep 5 17:52:14 2019 +0300
gnu: Add rust-netlib-src.
* gnu/packages/crates-io.scm (rust-netlib-src): New variable.
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ea6fd1d..d6a26fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24,6 +24,8 @@
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (gnu packages gcc)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages pkg-config))
;;;
@@ -1373,6 +1375,42 @@ types as proposed in RFC 1158.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-netlib-src
+ (package
+ (name "rust-netlib-src")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlib-src" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-cmake" ,rust-cmake)
+ ("rust-libc" ,rust-libc))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'use-system-lapack
+ (lambda _
+ (delete-file-recursively "source")
+ (substitute* "Cargo.toml"
+ (("default .*")
+ "default = [\"system\"]\n"))
+ #t)))))
+ (inputs
+ `(("gfortran:lib" ,gfortran "lib")
+ ("lapack" ,lapack)))
+ (home-page "https://github.com/blas-lapack-rs/netlib-src")
+ (synopsis "Source of BLAS and LAPACK via Netlib")
+ (description
+ "The package provides a source of BLAS and LAPACK via Netlib.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-nodrop
(package
(name "rust-nodrop")
- 12/41: gnu: Add rust-libloading., (continued)
- 12/41: gnu: Add rust-libloading., guix-commits, 2019/09/06
- 11/41: gnu: Add rust-compiler-builtins., guix-commits, 2019/09/06
- 19/41: gnu: Add rust-openssl-probe., guix-commits, 2019/09/06
- 14/41: gnu: Add rust-memmap., guix-commits, 2019/09/06
- 03/41: gnu: Add rust-tempdir., guix-commits, 2019/09/06
- 07/41: gnu: Add rust-log., guix-commits, 2019/09/06
- 06/41: gnu: Add rust-rustc-serialize., guix-commits, 2019/09/06
- 17/41: gnu: Add rust-miniz-sys., guix-commits, 2019/09/06
- 09/41: gnu: Add rust-cmake., guix-commits, 2019/09/06
- 16/41: gnu: Add rust-miniz-oxide., guix-commits, 2019/09/06
- 18/41: gnu: Add rust-netlib-src.,
guix-commits <=
- 10/41: gnu: Add rust-stacker., guix-commits, 2019/09/06
- 15/41: gnu: Add rust-memmap-0.6., guix-commits, 2019/09/06
- 22/41: gnu: Add rust-rustc-demangle., guix-commits, 2019/09/06
- 20/41: gnu: Add rust-gcc., guix-commits, 2019/09/06
- 36/41: gnu: Add rust-glob-0.2., guix-commits, 2019/09/06
- 25/41: gnu: Add rust-lzma-sys., guix-commits, 2019/09/06
- 27/41: gnu: Add rust-xattr., guix-commits, 2019/09/06
- 21/41: gnu: Add rust-pico-sys., guix-commits, 2019/09/06
- 24/41: gnu: Add rust-jemalloc-sys., guix-commits, 2019/09/06
- 41/41: gnu: Add rust-parity-wasm., guix-commits, 2019/09/06