From ff50f88935f6d04664ad3c907a9bff62714668c6 Mon Sep 17 00:00:00 2001 From: Kyle Andrews Date: Fri, 17 Feb 2023 13:08:46 +0000 Subject: [PATCH] gnu: Add r-gpg. * gnu/packages/cran.scm (r-gpg): New variable. Change-Id: Ic432345101387e4cd2bd6558e0e43f06c4c6b33d --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 66cc285e03331d0cb2e9ac65cdd9f61d80396c26..313e898291befd8cf8dc4f3159a7f6232e5df4f5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2022-2024 Navid Afkhami ;;; Copyright © 2022 Greg Hogan +;;; Copyright © 2023 Kyle Andrews ;;; Copyright © 2024 Marco Baggio ;;; Copyright © 2024, 2025 Spencer King ;;; Copyright © 2024-2025 Tor-björn Claesson @@ -85,6 +86,7 @@ #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) @@ -5006,6 +5008,33 @@ Google. @code{googleVis} makes use of the internal R HTTP server to display the output locally.") (license license:gpl2+))) +(define-public r-gpg + (package + (name "r-gpg") + (version "1.3.0") + (source (origin + (method url-fetch) + (uri (cran-uri "gpg" version)) + (sha256 + (base32 + "04hnmxvnxligd93vzvp38wpxpyxvqz5qd5084awklim846v3dg03")))) + (properties + '((upstream-name . "gpg") + (updater-extra-inputs . ("gpgme")))) + (build-system r-build-system) + (inputs (list gpgme)) + (propagated-inputs (list r-askpass r-curl)) + (native-inputs (list pkg-config r-knitr)) + (home-page "https://github.com/jeroen/gpg") + (synopsis "GNU Privacy Guard for R") + (description + "This package provides bindings to GnuPG for working with +OpenGPG (RFC4880) cryptographic methods. It includes utilities for public key +encryption, creating and verifying digital signatures, and managing your local +keyring. Some functionality depends on the version of GnuPG that is installed +on the system.") + (license license:expat))) + (define-public r-gplots (package (name "r-gplots")