1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add php-8.4.

* gnu/packages/php.scm (php-8.4): New variable.

Change-Id: I81f24e91f3060d563c89dd5a19e694e6b7d264aa
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Wilko Meyer
2026-02-07 14:06:09 +01:00
committed by Andreas Enge
parent ea510232e6
commit 232c55f844

View File

@@ -384,3 +384,29 @@ systems, web content management systems and web frameworks.")
;; php should always point to the latest php version
(define-public php php-8.5)
;; older supported php version
;; actively supported until: 31 Dec 2026
;; security support until: 31 Dec 2028
(define-public php-8.4
(package
(inherit php-8.5)
(home-page "https://www.php.net/")
(version "8.4.17")
(source
(origin
(method url-fetch)
(uri (string-append home-page "distributions/" "php-" version ".tar.xz"))
(sha256
(base32 "1yhbigrhy9k7cnbzbrfjr6dxhs8ixf1i5mi1x755hq988zik9ci8"))
(modules '((guix build utils)))
(snippet
'(with-directory-excursion "ext"
(for-each delete-file-recursively
;; Some of the bundled libraries have no proper upstream.
;; Ideally we'd extract these out as separate packages:
;; "mbstring/libmbfl"
;; "date/lib"
;; "bcmath/libbcmath"
;; "fileinfo/libmagic" ; a patched version of libmagic
'("gd/libgd" "pcre/pcre2lib"))))))))