[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: gnu: magic-wormhole: Simplify package.
From: |
guix-commits |
Subject: |
03/12: gnu: magic-wormhole: Simplify package. |
Date: |
Sat, 23 Mar 2024 16:59:38 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit fb667a7a8a69c17f5beafe458951defd369125fa
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Mar 23 17:37:02 2024 +0000
gnu: magic-wormhole: Simplify package.
* gnu/packages/magic-wormhole.scm: Use G-expressions.
[build-system]: Swap to pyproject-bulid-system.
[arguments]: <#:phases>: Remove trailing #t from lambda.
[native-inputs]: Add python-pytest. Remove python-noiseprototocl.
[propagated-inputs]: Add python-noiseprototocl, listed as an optional
install dependence.
Change-Id: Ie00a23ed3d31ca46d200fa6dfc5404f7803aae14
---
gnu/packages/magic-wormhole.scm | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index f9ccf8c1d3..cdd24d89b8 100644
--- a/gnu/packages/magic-wormhole.scm
+++ b/gnu/packages/magic-wormhole.scm
@@ -20,7 +20,9 @@
(define-module (gnu packages magic-wormhole)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix licenses)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages check)
#:use-module (gnu packages python-check)
@@ -115,24 +117,20 @@ together, allowing them to pretend they have a direct
connection.")
(sha256
(base32
"05hm5pnrxli69a28h3pbgx6s6pwy8279l506kha7y3i7hs1dcfxc"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- ;; XXX I can't figure out how to build the docs properly.
- ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34515#101
- (add-after 'install 'install-docs
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (man (string-append out "/share/man/man1")))
- (install-file "docs/wormhole.1" man))
- #t)))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX I can't figure out how to build the docs properly.
+ ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34515#101
+ (add-after 'install 'install-docs
+ (lambda _
+ (install-file "docs/wormhole.1"
+ (string-append #$output "/share/man/man1")))))))
(native-inputs
(list python-mock
- python-noiseprotocol
- ;; XXX These are required for the test suite but end up being
referenced
- ;; by the built package.
- ;; https://bugs.gnu.org/25235
+ python-pytest
magic-wormhole-mailbox-server
magic-wormhole-transit-relay))
(propagated-inputs
@@ -140,6 +138,7 @@ together, allowing them to pretend they have a direct
connection.")
python-click
python-hkdf
python-humanize
+ python-noiseprotocol
python-pynacl
python-spake2
python-tqdm
- 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 <=
- 07/12: gnu: magic-wormhole-transit-relay: Simplify package., guix-commits, 2024/03/23
- 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