Subject: [PATCH v4 19/98] gnu: Add php-phar-io-manifest.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 23:43:47 +0200

* gnu/packages/php-xyz.scm (php-phar-io-manifest): New variable.

Change-Id: Idfb14ce342d8e8593fafe5a97f37bcba0779dda7
---
 gnu/packages/php-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index faa9b75f23..c8e35da547 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -487,3 +487,25 @@ (define-public php-nikic-php-parser
     (home-page "https://github.com/nikic/PHP-Parser")
     (license license:bsd-3)))
 
+(define-public php-phar-io-manifest
+  (package
+    (name "php-phar-io-manifest")
+    (version "2.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/phar-io/manifest")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10bj0c38a988mwv0h8g7lk2npyghsf0bzbvys1msxlckjy7b1zww"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-phar-io-version))
+    (synopsis "PHP Archive information reader")
+    (description "This package contains a component for reading phar.io manifest
+information from a PHP Archive (PHAR).")
+    (home-page "https://phar.io")
+    (license license:bsd-3)))
+
-- 
2.46.0