From 6384c60b563553c88ccd7e542977e135c1dbdfe8 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 28 Jun 2022 15:53:10 +0300 Subject: gn: Add rust-gsl. * gn/packages/crates-io.scm (rust-gsl): New variable. Signed-off-by: BonfaceKilz --- gn/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gn/packages') 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+))) -- cgit v1.2.3