diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-01-22 08:56:36 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-01-22 08:56:50 +0100 |
commit | 3a00c606c15c869b0470f8bb20570a6fef89b9ce (patch) | |
tree | 66e47387206586aff6e5ffae96811bf0f3fdf383 | |
parent | 5e5debf58c5cf3834dfff7f4f13eac7d242246ed (diff) | |
download | guix-3a00c606c15c869b0470f8bb20570a6fef89b9ce.tar guix-3a00c606c15c869b0470f8bb20570a6fef89b9ce.tar.gz |
gnu: Add r-gwidgets2tcltk.
* gnu/packages/cran.scm (r-gwidgets2tcltk): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 2b1bea9ea0..5f23298e15 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -738,6 +738,36 @@ The API is defined in this package. A second, toolkit-specific package is required to use it.") (license license:gpl3+))) +(define-public r-gwidgets2tcltk + (package + (name "r-gwidgets2tcltk") + (version "1.0-8") + (source (origin + (method url-fetch) + (uri (cran-uri "gWidgets2tcltk" version)) + (sha256 + (base32 + "02ic4avpa33dnqsnm1mzg7ci1psngk1p169pqf259szf6v39qf8h")))) + (properties `((upstream-name . "gWidgets2tcltk"))) + (build-system r-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'start-x-server + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1")))))) + (propagated-inputs (list r-digest r-gwidgets2 r-memoise)) + (native-inputs + (list xorg-server-for-tests)) + (home-page "https://github.com/jverzani/gWidgets2tcltk") + (synopsis "Toolkit implementation of gWidgets2 for tcltk") + (description "This package is a port of the @code{gWidgets2} API for the +@code{tcltk} package.") + (license license:gpl2+))) + (define-public r-ids (package (name "r-ids") |