guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/215: gnu: Add r-rcpphnsw.


From: guix-commits
Subject: 04/215: gnu: Add r-rcpphnsw.
Date: Sun, 5 May 2019 18:15:28 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 8128189976ad0fef5065bb3f1b552273d8990759
Author: Ricardo Wurmus <address@hidden>
Date:   Sun May 5 23:14:31 2019 +0200

    gnu: Add r-rcpphnsw.
    
    * gnu/packages/cran.scm (r-rcpphnsw): New variable.
---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 29d6e33..10e5e8b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8584,6 +8584,28 @@ This package provides an R interface.")
     ;; GPLv2+.
     (license (list license:gpl2+ license:asl2.0))))
 
+(define-public r-rcpphnsw
+  (package
+    (name "r-rcpphnsw")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "RcppHNSW" version))
+       (sha256
+        (base32
+         "158a069n42pbnjrlmvqsr6bm2cfp9hxpnk3nhp3dwi9qjlq4r9bm"))))
+    (properties `((upstream-name . "RcppHNSW")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-rcpp" ,r-rcpp)))
+    (home-page "https://cran.r-project.org/web/packages/RcppHNSW/";)
+    (synopsis "Rcpp bindings for hnswlib, a library for approximate nearest 
neighbors")
+    (description
+     "Hnswlib is a C++ library for approximate nearest neighbors.  This
+package provides a minimal R interface by relying on the Rcpp package.")
+    ;; hnswlib is released under Version 2.0 of the Apache License.
+    (license (list license:gpl3 license:asl2.0))))
+
 (define-public r-ncdf4
   (package
     (name "r-ncdf4")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]