[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/12: gnu: magic-wormhole-transit-relay: Simplify package.
From: |
guix-commits |
Subject: |
07/12: gnu: magic-wormhole-transit-relay: Simplify package. |
Date: |
Sat, 23 Mar 2024 16:59:38 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 70386806e1f8428ad310373bd491aa9f833947c4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Mar 23 17:56:21 2024 +0000
gnu: magic-wormhole-transit-relay: Simplify package.
* gnu/packages/magic-wormhole.scm (magic-wormhole-transit-relay)
Use G-expressions
[build-system]: Swap to pyproject-build-system.
[arguments] <#:phases>: Remove traling #t from lambda.
[native-inputs]: Add python-pytest.
Change-Id: I1d72d48768016067d1a6a24e47eb9144b36d38e4
---
gnu/packages/magic-wormhole.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index cbb785a199..582c91cb1e 100644
--- a/gnu/packages/magic-wormhole.scm
+++ b/gnu/packages/magic-wormhole.scm
@@ -71,20 +71,20 @@ connection, or through a transit-relay.")
(sha256
(base32
"0ppsx2s1ysikns1h053x67z2zmficbn3y3kf52bzzslhd2s02j6b"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
(add-after 'install 'install-docs
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
+ (lambda _
+ (let* ((out #$output)
(docs (string-append out
"/share/doc/magic-wormhole-transit-relay")))
(for-each (lambda (file)
(install-file file docs))
- (find-files "docs/"))
- #t))))))
+ (find-files "docs/"))))))))
(native-inputs
- (list python-mock python-pyflakes python-tox))
+ (list python-mock python-pyflakes python-pytest python-tox))
(propagated-inputs
(list python-twisted))
(home-page
- branch master updated (060708ef6c -> 28bc0e870b), guix-commits, 2024/03/23
- 04/12: gnu: magic-wormhole: Fix indentation., guix-commits, 2024/03/23
- 06/12: gnu: magic-wormhole-mailbox-server: Simplify package., guix-commits, 2024/03/23
- 12/12: gnu: magic-wormhole: Fix home page., guix-commits, 2024/03/23
- 10/12: gnu: magic-wormhole-transit-relay: Fix indentation., guix-commits, 2024/03/23
- 08/12: gnu: magic-wormhole: Limit amount of loaded symbols., guix-commits, 2024/03/23
- 01/12: gnu: Add python-noiseprotocol., guix-commits, 2024/03/23
- 03/12: gnu: magic-wormhole: Simplify package., guix-commits, 2024/03/23
- 07/12: gnu: magic-wormhole-transit-relay: Simplify package.,
guix-commits <=
- 11/12: gnu: magic-wormhole-transit-relay: Remove some native inputs., guix-commits, 2024/03/23
- 02/12: gnu: magic-wormhole: Update to 0.13.0., guix-commits, 2024/03/23
- 05/12: gnu: magic-wormhole: Add licenses prefix., guix-commits, 2024/03/23
- 09/12: gnu: magic-wormhole-mailbox-server: Fix indentation., guix-commits, 2024/03/23