Archived
1
0
Fork 0

gnu: darkhttpd: Update to 1.13.

* gnu/packages/web.scm (darkhttpd): Update to 1.13.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-26 02:01:41 +02:00
parent b8fc7c2359
commit e598e46913
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5791,28 +5791,28 @@ and similar services.")
(define-public darkhttpd (define-public darkhttpd
(package (package
(name "darkhttpd") (name "darkhttpd")
(version "1.12") (version "1.13")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-" (uri (git-reference
version ".tar.bz2")) (url "https://github.com/emikulic/darkhttpd")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0w11xq160q9yyffv4mw9ncp1n0dl50d9plmwxb0yijaaxls9i4sk"))))
"0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags '("CC=gcc") `(#:make-flags '("CC=gcc")
#:tests? #f ; No test suite #:tests? #f ; No test suite
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure) ; no configure script
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(install-file "darkhttpd" (install-file "darkhttpd"
(string-append (assoc-ref outputs "out") (string-append (assoc-ref outputs "out")
"/bin")) "/bin")))))))
#t)))))
(synopsis "Simple static web server") (synopsis "Simple static web server")
(description "darkhttpd is a simple static web server. It is (description "darkhttpd is a simple static web server. It is
standalone and does not need inetd or ucspi-tcp. It does not need any standalone and does not need inetd or ucspi-tcp. It does not need any