[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: tests: Update expected values for package->code.
From: |
guix-commits |
Subject: |
branch master updated: tests: Update expected values for package->code. |
Date: |
Mon, 20 Apr 2020 04:58:12 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 10af34c tests: Update expected values for package->code.
10af34c is described below
commit 10af34cd7f1f4f9fb50db826d06233c83a9c0439
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Mon Apr 20 10:56:23 2020 +0200
tests: Update expected values for package->code.
Reported by janneke on IRC.
* tests/print.scm: Update expected package definitions produced by
package->code.
---
tests/print.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/print.scm b/tests/print.scm
index d4b2cca..3386590 100644
--- a/tests/print.scm
+++ b/tests/print.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2017, 2020 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,7 +21,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix packages)
- #:use-module (guix licenses)
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (srfi srfi-64))
(define-syntax-rule (define-with-source object source expr)
@@ -42,11 +42,11 @@
(sha256
(base32
"070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
- (build-system gnu-build-system)
+ (build-system (@ (guix build-system gnu) gnu-build-system))
(home-page "http://gnu.org")
(synopsis "Dummy")
(description "This is a dummy package.")
- (license gpl3+)))
+ (license license:gpl3+)))
(define-with-source pkg-with-inputs pkg-with-inputs-source
(package
@@ -59,20 +59,20 @@
(sha256
(base32
"070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
- (build-system gnu-build-system)
+ (build-system (@ (guix build-system gnu) gnu-build-system))
(inputs `(("coreutils" ,(@ (gnu packages base) coreutils))
("glibc" ,(@ (gnu packages base) glibc) "debug")))
(home-page "http://gnu.org")
(synopsis "Dummy")
(description "This is a dummy package.")
- (license gpl3+)))
+ (license license:gpl3+)))
(test-equal "simple package"
- pkg-source
+ `(define-public test ,pkg-source)
(package->code pkg))
(test-equal "package with inputs"
- pkg-with-inputs-source
+ `(define-public test ,pkg-with-inputs-source)
(package->code pkg-with-inputs))
(test-end "print")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: tests: Update expected values for package->code.,
guix-commits <=