Archived
1
0
Fork 0

gnu: lcov: Update to 1.15.

* gnu/packages/code.scm (lcov): Update to 1.15.
[source]: Use a release tarball.
[inputs]: Replace perl-perlio-gzip with perl-io-compress.
This commit is contained in:
Tobias Geerinckx-Rice 2020-09-22 02:16:01 +02:00
parent bfc0a2ffa8
commit adbcc3ed8c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -470,24 +470,17 @@ stack traces.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public lcov (define-public lcov
;; Use a recent commit from upstream since the latest official release
;; (1.14) doesn't support GCC 9 (see:
;; https://github.com/linux-test-project/lcov/issues/58).
(let* ((commit "40580cd65909bc8324ae09b36bca2e178652ff3f")
(revision "0")
(version (git-version "1.14" revision commit)))
(package (package
(name "lcov") (name "lcov")
(version "1.14") (version "1.15")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method url-fetch)
(url "https://github.com/linux-test-project/lcov") (uri (string-append "https://github.com/linux-test-project/lcov"
(commit commit))) "/releases/download/v" version
(file-name (git-file-name name version)) "/lcov-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0fh5z0q5wg2jxr2nn5w7321y0zg9rwk75j3k5hnamjdy6gxa5kf1"))))
"0shgmh6fzhnj1qfdl90jgjmlbb1ih1qh879dca8hc58yggy3hqgb"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:test-target "test" '(#:test-target "test"
@ -513,8 +506,8 @@ stack traces.")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))) `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
#t))))) #t)))))
(inputs `(("perl" ,perl) (inputs `(("perl" ,perl)
("perl-json" ,perl-json) ("perl-io-compress" ,perl-io-compress)
("perl-perlio-gzip" ,perl-perlio-gzip))) ("perl-json" ,perl-json)))
(home-page "http://ltp.sourceforge.net/coverage/lcov.php") (home-page "http://ltp.sourceforge.net/coverage/lcov.php")
(synopsis "Code coverage tool that enhances GNU gcov") (synopsis "Code coverage tool that enhances GNU gcov")
(description "LCOV is an extension of @command{gcov}, a tool part of the (description "LCOV is an extension of @command{gcov}, a tool part of the
@ -523,7 +516,7 @@ are actually executed (i.e., \"covered\") while running a particular test
case. The extension consists of a set of Perl scripts which build on the case. The extension consists of a set of Perl scripts which build on the
textual @command{gcov} output to implement the following enhanced textual @command{gcov} output to implement the following enhanced
functionality such as HTML output.") functionality such as HTML output.")
(license license:gpl2+)))) (license license:gpl2+)))
(define-public kcov (define-public kcov
(package (package