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

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

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

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index dabbae9c3c..8df5295557 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -412,3 +412,24 @@ (define-public php-phar-io-manifest
     (home-page "https://phar.io")
     (properties '((upstream-name . "phar-io/manifest")))
     (license license:bsd-3)))
+
+(define-public php-phar-io-version
+  (package
+    (name "php-phar-io-version")
+    (version "3.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/phar-io/version")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0cl43mn5vxm8m364b6sjmklva201vx0kpm3zf8aq021l3xllh5fz"))))
+    (build-system composer-build-system)
+    (synopsis "Library for handling version information and constraints")
+    (description "This package contains a library for handling version information
+and constraints.")
+    (home-page "https://phar.io")
+    (properties '((upstream-name . "phar-io/version")))
+    (license license:bsd-3)))
-- 
2.46.0