GNU bug report logs -
#67902
[PATCH 00/95] PHP package chain.
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/php-bootstrap.scm (php-sebastian-lines-of-code): New variable.
---
gnu/packages/php-bootstrap.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 43aa4eb611..9a80a5d400 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -1032,3 +1032,34 @@ (define-public php-sebastian-global-state
of a PHP program.")
(home-page "https://github.com/sebastianbergmann/global-state")
(license license:bsd-3)))
+
+(define-public php-sebastian-lines-of-code
+ (package
+ (name "php-sebastian-lines-of-code")
+ (version "2.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sebastianbergmann/lines-of-code")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j5yk9565mh4s46735jlqiz9kxwgxai7g0a0x802alhv9qjpm5p6"))))
+ (build-system composer-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-failing-tests
+ (lambda _
+ (delete-file "tests/unit/LineCountingVisitorTest.php"))))))
+ (native-inputs
+ (list php-phpunit-phpunit))
+ (inputs
+ (list php-nikic-php-parser))
+ (synopsis "Count PHP source code lines")
+ (description "This package provides a library for counting the lines of
+code in PHP source code.")
+ (home-page "https://github.com/sebastianbergmann/lines-of-code")
+ (license license:bsd-3)))
--
2.46.0
This bug report was last modified 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.