guix-commits
[Top][All Lists]
Advanced

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

01/19: gnu: Add r-dotcall64.


From: guix-commits
Subject: 01/19: gnu: Add r-dotcall64.
Date: Wed, 9 Jan 2019 11:14:08 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit f51dcc275e6c4de9b95e7a5d8584a307a259a0db
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 16:28:19 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9001f07..4020ecd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9900,3 +9900,27 @@ features in their own packages.")
 check the state of your variables, and assertions (@code{assert_*} functions)
 to throw errors if they aren't in the right form.")
     (license license:gpl3+)))
+
+(define-public r-dotcall64
+  (package
+    (name "r-dotcall64")
+    (version "1.0-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "dotCall64" version))
+       (sha256
+        (base32
+         "1b8p7m3w0m7bp977c6jz74xkd611cxg11j49yza59k5fp338scb9"))))
+    (properties `((upstream-name . "dotCall64")))
+    (build-system r-build-system)
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "https://git.math.uzh.ch/reinhard.furrer/dotCall64";)
+    (synopsis "Enhanced foreign function interface supporting long vectors")
+    (description
+     "This package provides @code{.C64()}, an enhanced version of @code{.C()}
+and @code{.Fortran()} from the R foreign function interface.  @code{.C64()}
+supports long vectors, arguments of type 64-bit integer, and provides a
+mechanism to avoid unnecessary copies of read-only and write-only arguments.
+This makes it a convenient and fast interface to C/C++ and Fortran code.")
+    (license license:gpl2+)))



reply via email to

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