gnu: darkhttpd: Enable tests.

* gnu/packages/web.scm (darkhttpd)[arguments]: Set #:test-target "test"
[native-inputs]: Add which and python-minimal.

Change-Id: I9d9246109bba975d49f1e48f4c6d6e32d28a466c
This commit is contained in:
Zheng Junjie 2024-11-04 16:39:46 +08:00
parent 5d2aa55425
commit bfd5788003
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -6431,13 +6431,14 @@ and similar services.")
(arguments
(list
#:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
#:tests? #f ; No test suite
#:test-target "test"
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no configure script
(replace 'install
(lambda _
(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