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 KIZ5MhuOC1+hXQAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 22:26:35 +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 4P9VLhuOC18oPwAAB5/wlQ (envelope-from ) for ; Sun, 12 Jul 2020 22:26:35 +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 8AD9594051E for ; Sun, 12 Jul 2020 22:26:35 +0000 (UTC) Received: from localhost ([::1]:38770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQc-0005mo-Gp for larch@yhetil.org; Sun, 12 Jul 2020 18:26:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQC-0004yg-9k for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQB-0005YE-VD for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQB-0003fa-SA for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 11/34] gnu: Add php-webmozart-assert. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:07 +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.159459276414054 (code B ref 42338); Sun, 12 Jul 2020 22:26:07 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:04 +0000 Received: from localhost ([127.0.0.1]:47015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ8-0003eQ-8D for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ0-0003aw-GX for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 36620d57 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:51 +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=uz1sNx9UFoysgOqUDb7m5ignU YMo77G0AjoPQNV1b1Y=; b=UDKShAZiYYNKTyhzPdBg/GeRsPB4uUQ5SOit5S9a1 qJp01ReiVzBd9aO7TyNmxwUKamjtwRV9z1r6qjMilS2HzXP0VuPu+gPW6ocX7Pmw 3OhI7BmrpKcx7ovZ5rTTXVaX9ca+LoJLrkeQWXhAFrPYKVQwsukAS6z9yZ2Wfswn 0qnzoSw0QwKElBtJe3WNiiREaynyEftUhvNrzhUbxyEbKPUC9ZgjVpa1pT24plOC uubMa3V0I1Ecqh1N+YI3ZTGeIl76n80hRJoKgmmBtHSuBUnWqeG1YYbd1ckuM8ce A2Yb5UJyimSWOLhKT4H51iFlEi7HU9xdNUEV6Vq3Td98g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 00fa5e19 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:51 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:15 +0200 Message-Id: <20200712222538.18092-11-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=UDKShAZi; 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: xO0QV8ZICJLC * gnu/packages/php-xyz.scm (php-webmozart-assert): New variable. --- gnu/packages/php-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 51e51ac51b..ffc2eb7b11 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -230,3 +230,28 @@ information from a PHP Archive (PHAR)") who run php versions without the ctype extension.") (home-page "https://symfony.com") (license license:expat))) + +(define-public php-webmozart-assert + (package + (name "php-webmozart-assert") + (version "1.9.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/webmozart/assert.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q9bp4sp11r8ghdzr0qswdf1k5bf9b5s525im3kspar6y8019sh9")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-symfony-polyfill-ctype" ,php-symfony-polyfill-ctype))) + (synopsis "Assertions to validate method input/output with nice error messages.") + (description "This library contains efficient assertions to test the input +and output of PHP methods.") + (home-page "https://github.com/webmozart/assert") + (license license:expat))) -- 2.27.0