diff options
Diffstat (limited to 'guix/gnu-maintenance.scm')
-rw-r--r-- | guix/gnu-maintenance.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm index bfc03359ac..ee84446549 100644 --- a/guix/gnu-maintenance.scm +++ b/guix/gnu-maintenance.scm @@ -64,7 +64,10 @@ releases latest-release + gnu-release-archive-types gnu-package-name->name+version + + download-tarball package-update-path package-update update-package-source)) @@ -382,6 +385,11 @@ open (resp. close) FTP connections; this can be useful to reuse connections." (ftp-close conn) #f))))))))) +(define (gnu-release-archive-types release) + "Return the available types of archives for RELEASE---a list of strings such +as \"gz\" or \"xz\"." + (map file-extension (gnu-release-files release))) + (define %package-name-rx ;; Regexp for a package name, e.g., "foo-X.Y". Since TeXmacs uses ;; "TeXmacs-X.Y-src", the `-src' suffix is allowed. |