[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH 58/95] gnu: Add php-symfony-console.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH 58/95] gnu: Add php-symfony-console. |
Date: |
Tue, 19 Dec 2023 14:57:39 +0100 |
* gnu/packages/php-xyz.scm (php-symfony-console): New variable.
Change-Id: I45f446c29a1fcbf4105388ecde89c3b6045d3826
---
gnu/packages/php-xyz.scm | 52 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index a638d5db73..331b54be35 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1492,3 +1492,55 @@ (define-public php-symfony-config
(home-page "https://symfony.com")
(license license:expat)))
+(define-public php-symfony-console
+ (package
+ (name "php-symfony-console")
+ (version "6.3.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/symfony/console")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1k6vncnkrd80ly965b1a648gyc47yy24vy2hx75842l62xj280p2"))))
+ (build-system composer-build-system)
+ (arguments
+ (list
+ #:test-flags ''("--exclude" "skipTest")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda _
+ ;; Deactivate failing tests.
+ (substitute* "Tests/Helper/QuestionHelperTest.php"
+ (("(.*)public function testAutocompleteMoveCursorBackwards"
all blank)
+ (string-append
+ blank "/**\n"
+ blank " * @group skipTest\n"
+ blank " */\n"
+ all))))))))
+ (inputs
+ (list php-symfony-polyfill-mbstring
+ php-symfony-deprecation-contracts
+ php-symfony-service-contracts
+ php-symfony-string))
+ (native-inputs
+ (list php-phpunit-phpunit
+ php-psr-log
+ php-symfony-dependency-injection
+ php-symfony-event-dispatcher
+ (package/inherit php-symfony-lock
+ (arguments '(#:tests? #f))
+ (native-inputs '()))
+ php-symfony-phpunit-bridge
+ php-symfony-process
+ php-symfony-var-dumper))
+ (synopsis "Create PHP CLI applications")
+ (description
+ "This package provides utilities to ease the creation of beautiful and
+testable command line interfaces.")
+ (home-page "https://symfony.com")
+ (license license:expat)))
+
--
2.41.0
- [bug#67902] [PATCH 80/95] gnu: Add php-symfony-polyfill-uuid., (continued)
- [bug#67902] [PATCH 80/95] gnu: Add php-symfony-polyfill-uuid., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 59/95] gnu: Add php-symfony-dependency-injection., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 44/95] gnu: Add php-sebastian-environment., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 29/95] gnu: Add php-phpunit-php-text-template., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 37/95] gnu: Add php-psr-simple-cache., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 39/95] gnu: Add php-sebastian-code-unit., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 43/95] gnu: Add php-sebastian-diff., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 49/95] gnu: Add php-sebastian-object-reflector., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 50/95] gnu: Add php-sebastian-recursion-context., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 53/95] gnu: Add php-sebastian-version., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 58/95] gnu: Add php-symfony-console.,
Nicolas Graves <=
- [bug#67902] [PATCH 57/95] gnu: Add php-symfony-config., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 54/95] gnu: Add php-symfony-cache., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 61/95] gnu: Add php-symfony-error-handler., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 62/95] gnu: Add php-symfony-event-dispatcher., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 63/95] gnu: Add php-symfony-event-dispatcher-contracts., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 66/95] gnu: Add php-symfony-finder., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 68/95] gnu: Add php-symfony-http-kernel., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 70/95] gnu: Add php-symfony-lock., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 69/95] gnu: Add php-symfony-intl., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 71/95] gnu: Add php-symfony-mime., Nicolas Graves, 2023/12/19