unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62187] [PATCH 1/2] gnu: Add r-premessa.
@ 2023-03-14 15:01 Navid Afkhami
  2023-03-14 15:01 ` [bug#62186] [PATCH 2/2] gnu: Add r-rhandsontable Navid Afkhami
  2023-03-14 18:13 ` bug#62187: [PATCH 1/2] gnu: Add r-premessa Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Navid Afkhami @ 2023-03-14 15:01 UTC (permalink / raw)
  To: 62187; +Cc: Navid Afkhami

* gnu/packages/bioinformatics.scm (r-premessa): New variable.
---
 gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 06f9eb8ee3..7025ccd93d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8803,6 +8803,43 @@ (define-public r-pando
 regions for each transcription factor.")
     (license license:expat)))
 
+(define-public r-premessa
+  (let ((commit "68b42bb984637d0f3ad6a0ecc83e9278994afc85")
+        (revision "1"))
+    (package
+      (name "r-premessa")
+      (version (git-version "0.3.4" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ParkerICI/premessa")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1l0q431zk0lvg22130nx84gdqi7cpl05yah4am63lbx6m4c769pb"))))
+      (properties `((upstream-name . "premessa")))
+      (build-system r-build-system)
+      (propagated-inputs (list r-data-table
+                               r-flowcore
+                               r-ggplot2
+                               r-gridextra
+                               r-hexbin
+                               r-jsonlite
+                               r-reshape
+                               r-rhandsontable
+                               r-shiny
+                               r-shinyjqui))
+      (native-inputs (list esbuild))
+      (home-page "https://github.com/ParkerICI/premessa")
+      (synopsis
+       "This package is for pre-processing of flow and mass cytometry data")
+      (description
+       "This is an R package for pre-processing of flow and mass cytometry data.
+This package includes panel editing or renaming for FCS files, bead-based
+normalization and debarcoding.")
+      (license license:gpl3))))
+
 (define-public r-presto
   (let ((commit "052085db9c88aa70a28d11cc58ebc807999bf0ad")
         (revision "0"))
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#62186] [PATCH 2/2] gnu: Add r-rhandsontable.
  2023-03-14 15:01 [bug#62187] [PATCH 1/2] gnu: Add r-premessa Navid Afkhami
@ 2023-03-14 15:01 ` Navid Afkhami
  2023-03-14 16:48   ` bug#62186: " Ricardo Wurmus
  2023-03-14 18:13 ` bug#62187: [PATCH 1/2] gnu: Add r-premessa Ricardo Wurmus
  1 sibling, 1 reply; 4+ messages in thread
From: Navid Afkhami @ 2023-03-14 15:01 UTC (permalink / raw)
  To: 62186; +Cc: Navid Afkhami

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7025ccd93d..bc5da864bf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -827,6 +827,30 @@ (define-public r-rhtslib12
 developers of other R packages who wish to make use of HTSlib.")
       (license license:lgpl2.0+))))
 
+(define-public r-rhandsontable
+  (package
+    (name "r-rhandsontable")
+    (version "0.3.8")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "rhandsontable" version))
+              (sha256
+               (base32
+                "07fj6npq65pq836vdwblkhprdaq4i4f13cwdmm9gmxrnk72xj7lh"))))
+    (properties `((upstream-name . "rhandsontable")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-htmlwidgets r-jsonlite r-magrittr))
+    (native-inputs (list esbuild r-knitr))
+    (home-page "http://jrowen.github.io/rhandsontable/")
+    (synopsis
+     "This package is a htmlwidget based on the handsontable.js library")
+    (description
+     "Handsontable is a data grid component with an Excel like appearance.
+Built in JavaScript, it integrates with any data source with peak efficiency.
+It comes with powerful features like data validation, sorting, grouping,
+data binding, formula support or column ordering.")
+    (license license:expat)))
+
 (define-public r-stringendo
   (let ((commit "83b8f2d82a09b33b9e895438bb523a021138be01")
         (revision "1"))
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#62186: [PATCH 2/2] gnu: Add r-rhandsontable.
  2023-03-14 15:01 ` [bug#62186] [PATCH 2/2] gnu: Add r-rhandsontable Navid Afkhami
@ 2023-03-14 16:48   ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2023-03-14 16:48 UTC (permalink / raw)
  To: 62186-done

This one was tricky.

The package bundles minified JavaScript which we need to build from
source.  I tracked down all JavaScript source files, added them to the
native inputs, and added a build phase to process them all.

Commit 27c8ab4bf35a915a38dae574c6212e7dcbfd15dc shows the result.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#62187: [PATCH 1/2] gnu: Add r-premessa.
  2023-03-14 15:01 [bug#62187] [PATCH 1/2] gnu: Add r-premessa Navid Afkhami
  2023-03-14 15:01 ` [bug#62186] [PATCH 2/2] gnu: Add r-rhandsontable Navid Afkhami
@ 2023-03-14 18:13 ` Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2023-03-14 18:13 UTC (permalink / raw)
  To: 62187-done

Pushed with commit 204c51cac44809dc352c86bb33332fc75e2b0056.
I had to replace the bundled d3.min.js with a variant built from source.

Note that this is why the importer added esbuild (a JS compiler/bundler)
to the native inputs.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-14 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 15:01 [bug#62187] [PATCH 1/2] gnu: Add r-premessa Navid Afkhami
2023-03-14 15:01 ` [bug#62186] [PATCH 2/2] gnu: Add r-rhandsontable Navid Afkhami
2023-03-14 16:48   ` bug#62186: " Ricardo Wurmus
2023-03-14 18:13 ` bug#62187: [PATCH 1/2] gnu: Add r-premessa Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).