[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
233/244: gnu: restinio: Update to 0.6.18-0.eda471e and enable tests.
From: |
guix-commits |
Subject: |
233/244: gnu: restinio: Update to 0.6.18-0.eda471e and enable tests. |
Date: |
Wed, 12 Apr 2023 08:49:37 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit ab17c3b572c1c6c24d9afe341a0ec9816caf84a5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 10 23:31:47 2023 -0400
gnu: restinio: Update to 0.6.18-0.eda471e and enable tests.
* gnu/packages/networking.scm (restinio): Update to 0.6.18-0.eda471e.
[version]: Use git-version.
[arguments]: Enable tests, removing #:tests? argument.
---
gnu/packages/networking.scm | 95 +++++++++++++++++++++++----------------------
1 file changed, 48 insertions(+), 47 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index e7ad1c5599..1ba6c5300d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3709,55 +3709,56 @@ communication over HTTP.")
(license license:agpl3+)))
(define-public restinio
- (package
- (name "restinio")
- (version "0.6.17")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Stiffstream/restinio")
- (commit (string-append "v." version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1jpvfa2sjkihbkcc1q6c9zb1vry9mkkhbz2jrl831bqslpq9la3p"))))
- (build-system cmake-build-system)
- (arguments
- (list
- ;; Multiple tests fail to run in the build container due to host name
- ;; resolution (see: https://github.com/Stiffstream/restinio/issues/172).
- #:tests? #f
- #:configure-flags #~(list "-DRESTINIO_FIND_DEPS=ON"
- "-DRESTINIO_INSTALL=ON"
- "-DRESTINIO_TEST=ON"
- "-DRESTINIO_USE_EXTERNAL_HTTP_PARSER=ON"
- "-DRESTINIO_USE_EXTERNAL_SOBJECTIZER=ON")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'change-directory
- (lambda _
- (chdir "dev"))))))
- (native-inputs
- (list catch2
- clara
- json-dto))
- (inputs
- (list openssl
- sobjectizer))
- (propagated-inputs
- ;; These are all #include'd by restinio's .hpp header files.
- (list asio
- fmt
- http-parser
- pcre
- pcre2
- zlib))
- (home-page "https://stiffstream.com/en/products/restinio.html")
- (synopsis "C++14 library that gives you an embedded HTTP/Websocket server")
- (description "RESTinio is a header-only C++14 library that gives you an
embedded
+ ;; Temporarily use an unreleased commit, which includes fixes to be able to
+ ;; run the test suite in the resolver-less Guix build environment.
+ (let ((revision "0")
+ (commit "eda471ec3a2815965ca02ec93a1124a342b7601d"))
+ (package
+ (name "restinio")
+ (version (git-version "0.6.18" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Stiffstream/restinio")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0f4w7714r0ic7csgxydw2vzfh35ssk34pns9jycmc08dzc3r7whb"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DRESTINIO_FIND_DEPS=ON"
+ "-DRESTINIO_INSTALL=ON"
+ "-DRESTINIO_TEST=ON"
+ "-DRESTINIO_USE_EXTERNAL_HTTP_PARSER=ON"
+ "-DRESTINIO_USE_EXTERNAL_SOBJECTIZER=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'change-directory
+ (lambda _
+ (chdir "dev"))))))
+ (native-inputs
+ (list catch2
+ clara
+ json-dto))
+ (inputs
+ (list openssl
+ sobjectizer))
+ (propagated-inputs
+ ;; These are all #include'd by restinio's .hpp header files.
+ (list asio
+ fmt
+ http-parser
+ pcre
+ pcre2
+ zlib))
+ (home-page "https://stiffstream.com/en/products/restinio.html")
+ (synopsis "C++14 library that gives you an embedded HTTP/Websocket
server")
+ (description "RESTinio is a header-only C++14 library that gives you an
embedded
HTTP/Websocket server. It is based on standalone version of ASIO
and targeted primarily for asynchronous processing of HTTP-requests.")
- (license license:bsd-3)))
+ (license license:bsd-3))))
(define-public opendht
(package
- 219/244: gnu: s6-dns: Update to 2.3.5.5., (continued)
- 219/244: gnu: s6-dns: Update to 2.3.5.5., guix-commits, 2023/04/12
- 214/244: gnu: Add libxisf., guix-commits, 2023/04/12
- 206/244: gnu: emacs-treemacs-extra: Improve package style., guix-commits, 2023/04/12
- 222/244: gnu: s6-portable-utils: Update to 2.3.0.2., guix-commits, 2023/04/12
- 169/244: gnu: darktable: Update to 4.2.1., guix-commits, 2023/04/12
- 200/244: gnu: thunar-archive-plugin: Update to 0.5.1., guix-commits, 2023/04/12
- 202/244: gnu: xfce4-notifyd: Update to 0.8.2., guix-commits, 2023/04/12
- 204/244: gnu: xfce4-screensaver: Update to 4.18.1., guix-commits, 2023/04/12
- 207/244: gnu: emacs-treemacs: Update to 3.1., guix-commits, 2023/04/12
- 201/244: gnu: parole: Update to 4.18.0., guix-commits, 2023/04/12
- 233/244: gnu: restinio: Update to 0.6.18-0.eda471e and enable tests.,
guix-commits <=
- 210/244: gnu: emacs-citar-org-roam: Update to 0.5.1., guix-commits, 2023/04/12
- 230/244: gnu: libconfig: Replace config script helpers., guix-commits, 2023/04/12
- 226/244: gnu: cups-minimal: Fix cross-building to riscv64-linux., guix-commits, 2023/04/12
- 158/244: gnu: Remove abandoned spotify-tui package., guix-commits, 2023/04/12
- 159/244: gnu: Add sentencepiece., guix-commits, 2023/04/12
- 192/244: gnu: fcitx5-configtool: Update to 5.0.17., guix-commits, 2023/04/12
- 180/244: import: opam: opam->guix-package: Fix default repo argument., guix-commits, 2023/04/12
- 153/244: gnu: Add zix., guix-commits, 2023/04/12
- 154/244: gnu: libaudec: Update to 0.3.4., guix-commits, 2023/04/12
- 235/244: Revert "gnu: opendht: Update to 2.5.2.", guix-commits, 2023/04/12