aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorAlexander_Kabui2022-06-28 17:07:41 +0300
committerBonfaceKilz2022-06-29 15:07:22 +0300
commitf6d7174086ad88f8e48cc9013a952d45bc88f0bc (patch)
treeb8049f2ba4f820712bda49be66d21edd2199190e /gn
parent6384c60b563553c88ccd7e542977e135c1dbdfe8 (diff)
downloadguix-bioinformatics-f6d7174086ad88f8e48cc9013a952d45bc88f0bc.tar.gz
gn: Add gn-rust-correlation.
* gn/packages/crates-io.scm (gn-rust-correlation): New variable Signed-off-by: BonfaceKilz <me@bonfacemunyoki.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
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))))