aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cups.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cups.scm')
0 files changed, 0 insertions, 0 deletions
(define (version-tags) "Return only version tags (v0.8, etc.) sorted from the biggest version to the smallest one." (tags #:pattern "v*" #:sort "-version:refname")) (define (generate-authors-file file) "Generate authors FILE." (define previous-release-tag (find (lambda (tag) (version>? %guix-version (substring tag 1))) ; remove leading 'v' (version-tags))) (define release-range (string-append previous-release-tag "..HEAD")) (with-output-to-file file (lambda () (display "\ GNU Guix consists of Scheme code that implements the deployment model of the Nix package management tool. In fact, it currently talks to a build daemon whose code comes from Nix (see the manual for details.) Nix was initially written by Eelco Dolstra; other people have been contributing to it. See `nix/AUTHORS' for details.\n\n") (format #t "Contributors to GNU Guix ~a:\n\n" %guix-version) (display (contributors-string release-range)) (newline) (newline) (display "Overall contributors:\n\n") (display (contributors-string)) (newline)))) (define (show-help) (match (command-line) ((me _ ...) (format #t "Usage: guile ~a DIRECTORY AUTHORS Generate AUTHORS file for DIRECTORY with the Guix git repository.\n" me)))) (match (command-line) ((_ guix-dir authors-file) (parameterize ((%guix-dir guix-dir)) (generate-authors-file authors-file))) (_ (show-help) (exit 1))) ;;; generate-authors.scm ends here