aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorAlexander_Kabui2022-06-28 15:53:10 +0300
committerBonfaceKilz2022-06-29 15:04:24 +0300
commit6384c60b563553c88ccd7e542977e135c1dbdfe8 (patch)
treec59cae71a094588f43a81456e6f97a7f7c7d1383 /gn
parentbff5748124360b8fa5f8fe0d23b52ae830ec11e0 (diff)
downloadguix-bioinformatics-6384c60b563553c88ccd7e542977e135c1dbdfe8.tar.gz
gn: Add rust-gsl.
* gn/packages/crates-io.scm (rust-gsl): New variable. Signed-off-by: BonfaceKilz <me@bonfacemunyoki.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm
index 0162481..ea15be5 100644
--- a/gn/packages/crates-io.scm
+++ b/gn/packages/crates-io.scm
@@ -345,3 +345,27 @@ or any combination.")
(synopsis "A rust binding for the GSL (the GNU scientific library)")
(description "This is the FFI counter-part of the Rust GSL crate. It is better to use the GSL crate directly rather than this one (unless something is missing the Rust binding!).")
(license license:expat)))
+
+(define-public rust-gsl
+ (package
+ (name "rust-gsl")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "GSL" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kpiivagrsk9ags7d4k2521jwix0lqgnd3i8ayj3dfniszvcmgn9"))))
+ (build-system cargo-build-system)
+ (native-inputs
+ (list gsl))
+ (arguments
+ `(#:tests? #false
+ #:cargo-inputs
+ (("GSL-sys" ,rust-gsl-sys)
+ ("paste" ,rust-paste-1))))
+ (home-page "https://github.com/GuillaumeGomez/rust-GSL")
+ (synopsis "A rust binding for the GSL (the GNU scientific library)")
+ (description "This package is wrapper for gsl")
+ (license license:gpl3+)))