guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: Add r-httpgd.


From: guix-commits
Subject: 03/03: gnu: Add r-httpgd.
Date: Fri, 16 Feb 2024 09:58:36 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 96a2357a8a19bd4a796fdf1a875f7f3e0c91030c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Feb 16 15:56:05 2024 +0100

    gnu: Add r-httpgd.
    
    * gnu/packages/statistics.scm (r-httpgd): New variable.
    
    Change-Id: Ic92860e67ef1153f23a4a1cf4f2a851fa059cdda
---
 gnu/packages/statistics.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 37eac6d2bd..bdb3fe1465 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1519,6 +1519,36 @@ it supports LaTeX and HTML output.  Source code of other 
languages is
 supported via Andre Simon's highlight package.")
     (license license:gpl3+)))
 
+(define-public r-httpgd
+  (let ((commit "3f5f55822c4dce930155b91cedcfd4d483e3294e")
+        (revision "1"))
+    (package
+      (name "r-httpgd")
+      (version (git-version "2.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/nx10/httpgd";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "14i7mhbv1vcz2886w9lii9zhgr4zhhc844349syb989nhhzg552n"))))
+      (properties `((upstream-name . "httpgd")))
+      (build-system r-build-system)
+      (propagated-inputs (list r-asioheaders r-cpp11 r-unigd))
+      (native-inputs (list r-knitr))
+      (home-page "https://github.com/nx10/httpgd";)
+      (synopsis "'HTTP' Server Graphics Device")
+      (description
+       "This package provides a graphics device for R that is accessible via
+network protocols.  This package was created to make it easier to embed live R
+graphics in integrated development environments and other applications.  The
+included HTML/@code{JavaScript} client (plot viewer) aims to provide a better
+overall user experience when dealing with R graphics.  The device
+asynchronously serves graphics via HTTP and @code{WebSockets}'.")
+      (license license:gpl2+))))
+
 (define-public r-mime
   (package
     (name "r-mime")



reply via email to

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