import/cran: Allow overriding description fetch function.
* guix/import/cran.scm (cran->guix-package): New keyword argument FETCH-DESCRIPTION.
This commit is contained in:
		
							parent
							
								
									d57dd25d38
								
							
						
					
					
						commit
						08028c443e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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." | ||||
|  |  | |||
		Reference in a new issue