mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add rust-netlib-src.
* gnu/packages/crates-io.scm (rust-netlib-src): New variable.
This commit is contained in:
parent
e81e48ef29
commit
5b15d635ed
1 changed files with 38 additions and 0 deletions
|
@ -24,6 +24,8 @@ (define-module (gnu packages crates-io)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
|
#:use-module (gnu packages maths)
|
||||||
#:use-module (gnu packages pkg-config))
|
#:use-module (gnu packages pkg-config))
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
|
@ -1373,6 +1375,42 @@ (define-public rust-net2
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
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
|
(define-public rust-nodrop
|
||||||
(package
|
(package
|
||||||
(name "rust-nodrop")
|
(name "rust-nodrop")
|
||||||
|
|
Loading…
Reference in a new issue