~ruther/guix-local

bfd5788003fc0e7fb69f596992e4736a77e857be — Zheng Junjie 2 years ago 5d2aa55
gnu: darkhttpd: Enable tests.

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

Change-Id: I9d9246109bba975d49f1e48f4c6d6e32d28a466c
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +2 -1
@@ 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