From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YMI1G4CQC1+RcwAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 22:36:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yEEvF4CQC19vHAAA1q6Kng (envelope-from ) for ; Sun, 12 Jul 2020 22:36:48 +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 06FB694051E for ; Sun, 12 Jul 2020 22:36:48 +0000 (UTC) Received: from localhost ([::1]:43844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukaV-00007W-1M for larch@yhetil.org; Sun, 12 Jul 2020 18:36:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZr-0007qL-Q3 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZo-000748-Sk for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZo-0003zh-QQ for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 34/34] gnu: Add phpunit. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36: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.159459335415281 (code B ref 42338); Sun, 12 Jul 2020 22:36:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:54 +0000 Received: from localhost ([127.0.0.1]:47088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZe-0003yJ-2u for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:54 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ9-0003ad-ML for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7f0639ec for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:03 +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=s8ceYJ2fUGQUNnwEIyVAP3M5k cIbLCI4fmiN6V4oBkY=; b=DDuA4HTM8Ncr6MXCIvixesAm7OgRJwt6AUwclNwKE IO9UCFuIn4woQ7/HuPAo10ycCrn+shktc/WTnf/4fcETV/ae1vwZ5eOi0fGEZ6bJ oV8RKC/c0iPZrRaNfgiDQDF70JvjqmNf98JWN/yW0oDCZPXV/4yq/dRFR//iGI+h nsoWFZ7ycOkEyD6Z4ro35IeoAvWwFqFHfSaOWkxXrrb0mSaysBnpwu4nfGp+zypJ YFuAulYu7d4soWh/bRS3FAXJ6a8leREAT6+UIW8Wqz/dClCWE9hIUfkUqc2tYxFp Z8XNOG7tBWh+UNLpnylkXIbUzM64nKB5IJSlADnwUUNTw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4170c07a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:03 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:38 +0200 Message-Id: <20200712222538.18092-34-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=DDuA4HTM; 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: bqKwFjXDxM8Y * gnu/packages/php-xyz.scm (php-phpunit-phpunit): New variable. --- gnu/packages/php-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 0ae92c4600..eebf64c1a3 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -791,3 +791,48 @@ timeout.") represent the PHP code units.") (home-page "https://github.com/sebastianbergmann/code-unit") (license license:bsd-3))) + +(define-public php-phpunit-phpunit + (package + (name "phpunit") + (version "9.2.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/phpunit.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ck41faxkqr6painsqirklzsl08k8biadi2ksnpsmpjf3dp5p5gl")))) + (build-system composer-build-system) + (arguments + ;; Requires phpspec/prophecy-phpunit, which in turns requires phpunit. + `(#:tests? #f)) + (inputs + `(("php-sebastian-version" ,php-sebastian-version) + ("php-sebastian-type" ,php-sebastian-type) + ("php-sebastian-resource-operations" ,php-sebastian-resource-operations) + ("php-sebastian-object-enumerator" ,php-sebastian-object-enumerator) + ("php-sebastian-global-state" ,php-sebastian-global-state) + ("php-sebastian-exporter" ,php-sebastian-exporter) + ("php-sebastian-environment" ,php-sebastian-environment) + ("php-sebastian-diff" ,php-sebastian-diff) + ("php-sebastian-comparator" ,php-sebastian-comparator) + ("php-sebastian-code-unit" ,php-sebastian-code-unit) + ("php-phpunit-php-timer" ,php-phpunit-php-timer) + ("php-phpunit-php-text-template" ,php-phpunit-php-text-template) + ("php-phpunit-php-invoker" ,php-phpunit-php-invoker) + ("php-phpunit-php-file-iterator" ,php-phpunit-php-file-iterator) + ("php-phpunit-php-code-coverage" ,php-phpunit-php-code-coverage) + ("php-phpspec-prophecy" ,php-phpspec-prophecy) + ("php-phar-io-version" ,php-phar-io-version) + ("php-phar-io-manifest" ,php-phar-io-manifest) + ("php-myclabs-deep-copy" ,php-myclabs-deep-copy) + ("php-doctrine-instantiator" ,php-doctrine-instantiator))) + (properties `((upstream-name . "phpunit/phpunit"))) + (synopsis "PHP Unit Testing framework") + (description "PHPUnit is a testing framework for PHP. It is an instance of +the xUnit architecture for unit testing frameworks.") + (home-page "https://phpunit.de/") + (license license:bsd-3))) -- 2.27.0