diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2022-10-18 12:45:45 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-12-31 14:48:46 +0100 |
commit | 08028c443e7beb84e2a6c80dc8c87007c149b332 (patch) | |
tree | de92b6035c2e25440ca52f28db2a1bfcc7c99548 /guix | |
parent | d57dd25d3850d220bd82b44fa6f69812022199e4 (diff) |
import/cran: Allow overriding description fetch function.
* guix/import/cran.scm (cran->guix-package): New keyword argument
FETCH-DESCRIPTION.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/import/cran.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 992cbac790..725c3a9b21 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -645,6 +645,7 @@ from the alist META, which was derived from the R package's DESCRIPTION file." (define cran->guix-package (memoize (lambda* (package-name #:key (repo 'cran) version (license-prefix identity) + (fetch-description fetch-description) #:allow-other-keys) "Fetch the metadata for PACKAGE-NAME from REPO and return the `package' s-expression corresponding to that package, or #f on failure." |