aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/packages.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index b413e58b19..985a573fd3 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -125,6 +125,17 @@
(patch-guile origin-patch-guile ; package or #f
(default #f)))
+(define (print-origin origin port)
+ "Write a concise representation of ORIGIN to PORT."
+ (match origin
+ (($ <origin> uri method sha256 file-name patches)
+ (simple-format port "#<origin ~s ~a ~s ~a>"
+ uri (bytevector->base32-string sha256)
+ patches
+ (number->string (object-address origin) 16)))))
+
+(set-record-type-printer! <origin> print-origin)
+
(define-syntax base32
(lambda (s)
"Return the bytevector corresponding to the given Nix-base32
aspell: Update to 0.60.8."...Efraim Flashner 2019-10-16gnu: aspell-dict-pt-pt: Upgrade to 20190329-1-0....Efraim Flashner 2019-10-16gnu: aspell-dict-pt-br: Upgrade to 20131030-12-0....Efraim Flashner 2019-10-16gnu: aspell-dict-en: Upgrade to 2019.10.06-0....Efraim Flashner 2019-10-16gnu: aspell-dict-de: Update to 20161207-7-0....Efraim Flashner 2019-10-16gnu: aspell: Update to 0.60.8....Efraim Flashner 2019-06-13Merge branch 'master' into core-updatesLudovic Courtès 2019-06-07gnu: aspell.scm: Handle dictionary names with underscore/uppercase....Jens Mølgaard 2019-06-05gnu: Add Ukrainian Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Portuguese Portugal Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Norwegian Nynorsk Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Maori Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Hindi Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Finnish Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Danish Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Belarusian Aspell dictionary....Jens Mølgaard 2019-06-05gnu: Add Arabic Aspell dictionary....Jens Mølgaard