Subject: [bug#67902] [PATCH v5 16/54] gnu: Add php-phar-io-manifest.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:05:39 +0200

* gnu/packages/php-bootstrap.scm (php-phar-io-manifest): New variable.
---
 gnu/packages/php-bootstrap.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index c440c242dc..dabbae9c3c 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -389,3 +389,26 @@ (define-public php-nikic-php-parser
 simplify static code analysis and manipulation.")
     (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")
+    (properties '((upstream-name . "phar-io/manifest")))
+    (license license:bsd-3)))
-- 
2.46.0