Message ID | 20241007214530.4420-25-ngraves@ngraves.fr |
---|---|
State | New |
Headers | show
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 81B9B27BBEA; Mon, 7 Oct 2024 22:48:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D787827BBE2 for <patchwork@mira.cbaines.net>; Mon, 7 Oct 2024 22:48:41 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1sxvZN-0002RN-Ut; Mon, 07 Oct 2024 17:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sxvZL-0002Pu-Vk for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sxvZL-0004Sx-0W for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=rjFWn5ydRxJOVAA93S+9KJ4XQIuXCpaymnISsWy+6LU=; b=fR+I2/waoe2Q46Hs6CHmwYFdBKoGEBCBH5IUXUiGnWwzKaIw1yhXEyh+MI90QZIjDz9LDYrA/Dt2n/vT9MnE42pXbKvQ07VVfaRF6jng3f8Oz1pxQjo4l2xAgqbruzxtTk/UZ4jfHSGA12hSoZwVvZ6MgqW8EghNSTQfkF+La981qdFdyzkVYz6a1apC4j/GEaRDukAvEXy0ckbnLW6Mn0w2lPeSQT2XQ3DeSiNEpsu2x8e7gH9YI9oxdmyErOGFsdqIZkN2enE4xfW0b4w4mfU3s4Rk44q676k+pLOfqTYVvsPZKhRdhinF7Dcs1Sq2LSfQ013LOfcniq+NPNJOTA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sxvZS-0006eI-OO for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v4 25/98] gnu: Add php-phpstan-phpdoc-parser. Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 21:47:14 +0000 Resent-Message-ID: <handler.67902.B67902.172833760525209@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67902@debbugs.gnu.org Cc: Nicolas Graves <ngraves@ngraves.fr> Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.172833760525209 (code B ref 67902); Mon, 07 Oct 2024 21:47:14 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 21:46:45 +0000 Received: from localhost ([127.0.0.1]:48747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1sxvYy-0006YM-Uh for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:46:45 -0400 Received: from 17.mo581.mail-out.ovh.net ([188.165.35.227]:39537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1sxvYw-0006Y1-6b for 67902@debbugs.gnu.org; Mon, 07 Oct 2024 17:46:43 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.148.6]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XMt5P1NyCz1LW0 for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 21:46:33 +0000 (UTC) Received: from ghost-submission-55b549bf7b-fpmcf (unknown [10.108.54.121]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 011B31FD27; Mon, 7 Oct 2024 21:46:32 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-55b549bf7b-fpmcf with ESMTPSA id GSK1KbhWBGcYUAIAkvMxIA (envelope-from <ngraves@ngraves.fr>); Mon, 07 Oct 2024 21:46:32 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R003036050d2-b3fc-4c3b-b703-31d53daedabc, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 23:43:53 +0200 Message-ID: <20241007214530.4420-25-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007214530.4420-1-ngraves@ngraves.fr> References: <20241007214530.4420-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6249025961275155170 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeftddgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=rjFWn5ydRxJOVAA93S+9KJ4XQIuXCpaymnISsWy+6LU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728337593; v=1; b=nLsY5IpWVuoEiturR0auvR7xTZr+PGr7IsvyiRJxTNSIBMwtczHZViQyNl0YrtiSO3zzd4ri shwn6rSYrFS6HuxY6qrYxTZBwD/3IKgj8K8S57gz7WJCJFniKJrnFncF038lXejDHavGOlcGTa+ r7XzkyOo2EC6xIOaOs1ji+OgcVNWlZKPUUjkzEmG8q9RDweAyIgVV/AAkO5Ak3rv8ouFcOZv510 8DiB4b9luvbJ0g0L9ZK632IrQ5mFWTZcwd3oRXAGUdcL4kUDlEJP86uAaBYQjOPVW8p9iSyvAGR /5dMKHJBcw4Lqq+C+mv5xhmvoxKEbNoKEiZXt+c7YVYLQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#67902,v4,01/98] gnu: Add abnfgen.
|
expand
|
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 9822bba3de..7f48a9cf67 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -639,3 +639,43 @@ (define-public php-phpspec-prophecy (home-page "https://github.com/phpspec/prophecy") (license license:expat))) +(define-public php-phpstan-phpdoc-parser + (package + (name "php-phpstan-phpdoc-parser") + (version "1.24.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phpstan/phpdoc-parser") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sdnij33y0baqi4wzspzr67id00vk1p0n851s2a056njpyym65lv")) + (snippet '(begin + (delete-file "tests/abnfgen-0.20.tar.gz") + (delete-file "build-abnfgen.sh"))))) + (build-system composer-build-system) + (arguments + (list + #:test-flags ''("--bootstrap" "vendor/autoload.php") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'unbundle-abnfgen + (lambda _ + (substitute* "tests/PHPStan/Parser/FuzzyTest.php" + (("__DIR__ \\. '/\\.\\./\\.\\./\\.\\./tools/abnfgen/abnfgen'") + (string-append "'" #$(this-package-native-input "abnfgen") + "/bin/abnfgen'")))))))) + (native-inputs + (list abnfgen + php-phpunit-phpunit + php-symfony-process + php-doctrine-annotations)) + (synopsis "PHPDoc parser") + (description + "This package provides a PHPDoc parser with support for nullable, +intersection and generic types.") + (home-page "https://github.com/phpstan/phpdoc-parser") + (license license:expat))) +