diff options
| author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2020-10-22 10:44:11 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-22 17:10:25 +0200 |
| commit | 830ea72799f988b0fb334f9833f37ef147f7ca2c (patch) | |
| tree | 4da420d80fcd089738390d8dc9c1e7f69774aac5 /gnu | |
| parent | 16155bbeb89e3a9c5c6b75613c1e838aa1f3f59a (diff) | |
gnu: Add lcov-cobertura.
* gnu/packages/code.scm (lcov-cobertura): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/code.scm | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 6d348308ac8..e3e4c6738c4 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2015, 2018 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013, 2015, 2018, 2020 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> | 3 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> |
| 4 | ;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net> | 4 | ;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net> |
| 5 | ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> | 5 | ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> |
| @@ -39,6 +39,7 @@ | |||
| 39 | #:use-module ((guix licenses) #:prefix license:) | 39 | #:use-module ((guix licenses) #:prefix license:) |
| 40 | #:use-module (guix build-system gnu) | 40 | #:use-module (guix build-system gnu) |
| 41 | #:use-module (guix build-system cmake) | 41 | #:use-module (guix build-system cmake) |
| 42 | #:use-module (guix build-system python) | ||
| 42 | #:use-module (guix build-system trivial) | 43 | #:use-module (guix build-system trivial) |
| 43 | #:use-module (gnu packages) | 44 | #:use-module (gnu packages) |
| 44 | #:use-module (gnu packages autogen) | 45 | #:use-module (gnu packages autogen) |
| @@ -518,6 +519,28 @@ textual @command{gcov} output to implement the following enhanced | |||
| 518 | functionality such as HTML output.") | 519 | functionality such as HTML output.") |
| 519 | (license license:gpl2+))) | 520 | (license license:gpl2+))) |
| 520 | 521 | ||
| 522 | (define-public lcov-cobertura | ||
| 523 | (package | ||
| 524 | (name "python-lcov-cobertura") | ||
| 525 | (version "1.6") | ||
| 526 | (source | ||
| 527 | (origin | ||
| 528 | (method url-fetch) | ||
| 529 | (uri (pypi-uri "lcov_cobertura" version)) | ||
| 530 | (sha256 | ||
| 531 | (base32 | ||
| 532 | "02ar6yjazlxq4p64cz9gag08bvakmzjrp147jara9wlnlbc96j8g")))) | ||
| 533 | (build-system python-build-system) | ||
| 534 | (home-page "https://eriwen.github.io/lcov-to-cobertura-xml/") | ||
| 535 | (synopsis "LCOV to Cobertura XML converter") | ||
| 536 | (description | ||
| 537 | "The lcov-to-cobertura Python module converts code coverage report files | ||
| 538 | in the lcov format to the XML format of | ||
| 539 | @uref{http://cobertura.github.io/cobertura/, Cobertura}, a Java code coverage | ||
| 540 | tool. It allows continuous integration servers like Jenkins to aggregate | ||
| 541 | results and determine build stability.") | ||
| 542 | (license license:asl2.0))) | ||
| 543 | |||
| 521 | (define-public kcov | 544 | (define-public kcov |
| 522 | (package | 545 | (package |
| 523 | (name "kcov") | 546 | (name "kcov") |
