From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iKPULF6OC1+0YgAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 22:27:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GImuKF6OC1/cQQAAB5/wlQ (envelope-from ) for ; Sun, 12 Jul 2020 22:27:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B94094051E for ; Sun, 12 Jul 2020 22:27:42 +0000 (UTC) Received: from localhost ([::1]:41524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRh-0006zt-GO for larch@yhetil.org; Sun, 12 Jul 2020 18:27:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005xJ-UW for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005jz-L0 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR6-0003jA-Hr for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 18/34] gnu: Add php-sebastian-version. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277114177 (code B ref 42338); Sun, 12 Jul 2020 22:27:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:11 +0000 Received: from localhost ([127.0.0.1]:47041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQF-0003gV-9d for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:11 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ2-0003aw-Jn for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:59 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e018e868 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=tOa92GiXxdqHHACSMuP7r2lwH 8wTmdRENLgOS3HWhIc=; b=f4COZPRZD+Qkvomwt6RUuIdKLrSbBLNf2ISKtwLXF Z8bq9n6tU3F+RDtIb+JZ0w/Bstuv2x7Dk4n5Rk1D7DtoClgbsIg/+nQT1IXdBn46 Cv2R1517eSsvxFlv7plRrlApEmN7Z+Mb8aVDU4jORtMAQwYauU/ebC60cO2eutsv ClEAaYbgCvEOpQGmQ9v+V/EBc1wCH3kDTuIpazjNP1zx1X+jeUrIXj51mYmkyOUr vnnTLodpqC5wz6/+OuuAfGVhYGm8mkUZmjkyTMv3ItHGLFOOo6b7e0iBKWvFQakV tAtbX5a0O8QkccXjymkAsYO4FJkPg6WGcQpPQciXImDUg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id dc675e69 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:22 +0200 Message-Id: <20200712222538.18092-18-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=f4COZPRZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: Vuww+hcAVXHB * gnu/packages/php-xyz.scm (php-sebastian-version): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 344c413d2c..906a88d49e 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -401,3 +401,26 @@ method a line of code belongs to.") extension.") (home-page "https://github.com/sebastianbergmann/php-token-stream/") (license license:bsd-3))) + +(define-public php-sebastian-version + (package + (name "php-sebastian-version") + (version "3.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/version.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kr2i6s7y4k18bz09cqj4pc4bqzph9n6ncgpqq4p4fg790h5i5ym")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "PHP versionning library") + (description "This package is a library that helps with managing the version +number of Git-hosted PHP projects.") + (home-page "https://github.com/sebastianbergmann/version") + (license license:bsd-3))) -- 2.27.0