[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
283/416: gnu: gnunet: Fix indentation and use gexps.
From: |
guix-commits |
Subject: |
283/416: gnu: gnunet: Fix indentation and use gexps. |
Date: |
Fri, 14 Apr 2023 15:26:05 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 865dcef75e74dcf0b0f384b55f19ea798c20ddef
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 31 11:39:21 2023 -0400
gnu: gnunet: Fix indentation and use gexps.
* gnu/packages/gnunet.scm (gnunet): Fix indentation.
[arguments]: Use gexps and delete trailing #t.
---
gnu/packages/gnunet.scm | 140 ++++++++++++++++++++++++------------------------
1 file changed, 71 insertions(+), 69 deletions(-)
diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 4d662d75fb..2b494862ad 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2023 Adam Faiz <adam.faiz@disroot.org>
+;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -31,6 +32,7 @@
(define-module (gnu packages gnunet)
#:use-module (gnu packages)
+ #:use-module (gnu packages base)
#:use-module (gnu packages file)
#:use-module (gnu packages aidc)
#:use-module (gnu packages autotools)
@@ -259,82 +261,82 @@ supports HTTP, HTTPS and GnuTLS.")
(define-public gnunet
(package
- (name "gnunet")
- (version "0.19.3")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/gnunet/gnunet-" version
- ".tar.gz"))
- (sha256
- (base32
- "09bspbjl6cll8wcrl1vnb56jwp30pcrg1yyj6xy3i0fl2bzdbdw2"))
- (modules '((guix build utils)))
- (snippet
- #~(begin
- ;; This is fixed in the upstream repository but the fix
- ;; has not been released.
- (substitute* "src/gns/test_proxy.sh"
- (("test_gnunet_proxy.conf") "test_gns_proxy.conf"))))))
- (build-system gnu-build-system)
- (inputs
- (list bluez
- glpk
- curl
- gnutls/dane
- gstreamer
- jansson
- libextractor
- libidn2
- libgcrypt
- libjpeg-turbo
- libltdl
- libmicrohttpd
- libogg
- libsodium
- libunistring
- miniupnpc
- opus
- pulseaudio
- sqlite
- zbar
- zlib))
- (native-inputs
- (list curl
- openssl
- pkg-config
- python
- python-sphinx
- python-sphinx-rtd-theme
- xxd
- (@ (gnu packages base) which)))
- (arguments
- '(#:parallel-tests? #f ; Parallel tests aren't supported.
+ (name "gnunet")
+ (version "0.19.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/gnunet/gnunet-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "09bspbjl6cll8wcrl1vnb56jwp30pcrg1yyj6xy3i0fl2bzdbdw2"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; This is fixed in the upstream repository but the fix
+ ;; has not been released.
+ (substitute* "src/gns/test_proxy.sh"
+ (("test_gnunet_proxy.conf") "test_gns_proxy.conf"))))))
+ (build-system gnu-build-system)
+ (inputs
+ (list bluez
+ glpk
+ curl
+ gnutls/dane
+ gstreamer
+ jansson
+ libextractor
+ libidn2
+ libgcrypt
+ libjpeg-turbo
+ libltdl
+ libmicrohttpd
+ libogg
+ libsodium
+ libunistring
+ miniupnpc
+ opus
+ pulseaudio
+ sqlite
+ zbar
+ zlib))
+ (native-inputs
+ (list curl
+ openssl
+ pkg-config
+ python
+ python-sphinx
+ python-sphinx-rtd-theme
+ xxd
+ which))
+ (arguments
+ (list
+ #:parallel-tests? #f ;parallel tests aren't supported
#:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-env-var-for-tests
- (lambda _
- (setenv "LANG" "en_US.UTF-8")))
- ;; Swap 'check and 'install phases and add installed binaries to $PATH.
- (add-before 'check 'set-path-for-check
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "GNUNET_PREFIX" (string-append out "/lib"))
- (setenv "PATH" (string-append (getenv "PATH") ":" out "/bin")))
- #t))
- (delete 'check)
- (add-after 'install 'check
- (assoc-ref %standard-phases 'check)))))
- (synopsis "Secure, decentralized, peer-to-peer networking framework")
- (description
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-env-var-for-tests
+ (lambda _
+ (setenv "LANG" "en_US.UTF-8")))
+ ;; Swap 'check and 'install phases and add installed binaries to
$PATH.
+ (add-before 'check 'set-path-for-check
+ (lambda _
+ (setenv "GNUNET_PREFIX" (string-append #$output "/lib"))
+ (setenv "PATH" (string-append (getenv "PATH") ":"
+ #$output "/bin"))))
+ (delete 'check)
+ (add-after 'install 'check
+ (assoc-ref %standard-phases 'check)))))
+ (synopsis "Secure, decentralized, peer-to-peer networking framework")
+ (description
"GNUnet is a framework for secure peer-to-peer networking. The
high-level goal is to provide a strong foundation of free software for a
global, distributed network that provides security and privacy. GNUnet in
that sense aims to replace the current internet protocol stack. Along with
an application for secure publication of files, it has grown to include all
kinds of basic applications for the foundation of a GNU internet.")
- (license license:agpl3+)
- (home-page "https://gnunet.org/en/")))
+ (license license:agpl3+)
+ (home-page "https://gnunet.org/en/")))
(define-public guile-gnunet ;GSoC 2015!
(let ((commit "d12167ab3c8d7d6caffd9c606e389ef043760602")
- 185/416: gnu: rust-ryu-1: Update to 1.0.12., (continued)
- 185/416: gnu: rust-ryu-1: Update to 1.0.12., guix-commits, 2023/04/14
- 193/416: gnu: Add rust-cargo-util-0.1., guix-commits, 2023/04/14
- 199/416: gnu: rust-jobserver-0.1: Update to 0.1.24., guix-commits, 2023/04/14
- 201/416: gnu: rust-tar-0.4: Update to 0.4.36., guix-commits, 2023/04/14
- 202/416: gnu: Add rust-rustfix-0.6., guix-commits, 2023/04/14
- 204/416: gnu: rust-os-info-3: Update to 3.0.7., guix-commits, 2023/04/14
- 225/416: gnu: jami-docs: Update to 0.0.0-1.ff466eb., guix-commits, 2023/04/14
- 264/416: gnu: ruby-puma: Do not install mkmf.log file., guix-commits, 2023/04/14
- 275/416: gnu: Remove ucd-next., guix-commits, 2023/04/14
- 279/416: gnu: go: Update home page URL., guix-commits, 2023/04/14
- 283/416: gnu: gnunet: Fix indentation and use gexps.,
guix-commits <=
- 313/416: gnu: rust-pyo3-build-config-0.15: Update to 0.15.2., guix-commits, 2023/04/14
- 316/416: gnu: rust-pyo3-0.16: Fix build., guix-commits, 2023/04/14
- 322/416: gnu: Add rust-asn1-derive-0.13., guix-commits, 2023/04/14
- 217/416: gnu: gst-editing-services: Update to 1.22.1., guix-commits, 2023/04/14
- 218/416: gnu: python-gst: Update to 1.22.1., guix-commits, 2023/04/14
- 222/416: gnu: ffmpeg: Add a debug output., guix-commits, 2023/04/14
- 228/416: gnu: qtbase-5: Update to 5.15.8., guix-commits, 2023/04/14
- 230/416: gnu: qtsvg-5: Update to 5.15.8., guix-commits, 2023/04/14
- 231/416: gnu: qtimageformats: Update to 5.15.8., guix-commits, 2023/04/14
- 233/416: gnu: qtxmlpatterns: Update to 5.15.8., guix-commits, 2023/04/14