unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74184] [PATCH] gnu: darkhttpd: Update to 1.16.
@ 2024-11-03 11:23 Zheng Junjie
  2024-11-03 15:02 ` Nicolas Graves via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng Junjie @ 2024-11-03 11:23 UTC (permalink / raw)
  To: 74184

* gnu/packages/web.scm (darkhttpd): Update to 1.16.
[native-inputs]: Add which and python-minimal.
[arguments]: Use G-expression. Add #:test-target "test"

Change-Id: Ieb4f73d15e42efbdbb5bc310f37ff7b2763e7b36
---
 gnu/packages/web.scm | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 34739bf088e..4848a7738de 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6417,7 +6417,7 @@ (define-public surfraw
 (define-public darkhttpd
   (package
     (name "darkhttpd")
-    (version "1.13")
+    (version "1.16")
     (source
      (origin
        (method git-fetch)
@@ -6426,20 +6426,21 @@ (define-public darkhttpd
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0w11xq160q9yyffv4mw9ncp1n0dl50d9plmwxb0yijaaxls9i4sk"))))
+        (base32 "15mmq1v8p50mm9wx5w6g4rlr40b7d044lw7rs1wyzdiw9lcnihvm"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags
-       (list (string-append "CC=" ,(cc-for-target)))
-       #:tests? #f ; No test suite
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)            ; no configure script
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (install-file "darkhttpd"
-                           (string-append (assoc-ref outputs "out")
-                                          "/bin")))))))
+     (list #:make-flags
+           #~(list (string-append "CC=" #$(cc-for-target)))
+           #:test-target "test"
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)            ; no configure script
+               (replace 'install
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (install-file "darkhttpd"
+                                 (string-append #$output "/bin")))))))
+    (native-inputs
+     (list which python-minimal))
     (synopsis "Simple static web server")
     (description "darkhttpd is a simple static web server.  It is
 standalone and does not need inetd or ucspi-tcp.  It does not need any

base-commit: a26ba23cdd476cb5eb8378c4785ccf1bc4145f17
prerequisite-patch-id: bc4ec5762b626a7ae22d68aac1744a4f1c6ffcff
prerequisite-patch-id: d9314911732a6e7420aee9888a6335b1fee67274
prerequisite-patch-id: 2004d3d10bba51deea93634b8a5ddeae1d049287
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-03 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03 11:23 [bug#74184] [PATCH] gnu: darkhttpd: Update to 1.16 Zheng Junjie
2024-11-03 15:02 ` Nicolas Graves via Guix-patches via
2024-11-03 15:47   ` Nicolas Graves via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).