From f6d7174086ad88f8e48cc9013a952d45bc88f0bc Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 28 Jun 2022 17:07:41 +0300 Subject: gn: Add gn-rust-correlation. * gn/packages/crates-io.scm (gn-rust-correlation): New variable Signed-off-by: BonfaceKilz --- gn/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index ea15be5..7e7134a 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -369,3 +369,36 @@ or any combination.") (synopsis "A rust binding for the GSL (the GNU scientific library)") (description "This package is wrapper for gsl") (license license:gpl3+))) + +(define-public gn-rust-correlation + (let ((commit "19f2b9afa1698cab1158359ecd1cd65ffef99c5f") + (revision "0")) + (package + (name "gn-rust-correlation") + (version "0.1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Alexanderlacuna/correlation_rust.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0924p8ar362q3akng32ryzpg1sxiz814mm7yq7gzd29fm5hhq19s")))) + (build-system cargo-build-system) + (native-inputs + (list gsl)) + (arguments + `(#:tests? #false ;;disable-tests for now + #:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("GSL" ,rust-gsl) + ("rust-assert-approx-eq" ,rust-assert-approx-eq-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/Alexanderlacuna/correlation_rust") + (synopsis "Re-implementation of genenetwork/correlation in Rust") + (description "Re-implementation of genenetwork/correlation in Rust") + (license #f)))) -- cgit v1.2.3