gnu: kcov: Update to 39.

* gnu/packages/code.scm (kcov): Update to 39.
[inputs]: Add openssl.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-26 22:12:13 +01:00
parent 5eb7c45c44
commit 1e4b2d8e22
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -68,6 +68,7 @@
#:use-module (gnu packages serialization) #:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite) #:use-module (gnu packages sqlite)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages web) #:use-module (gnu packages web)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
@ -571,31 +572,31 @@ results and determine build stability.")
(define-public kcov (define-public kcov
(package (package
(name "kcov") (name "kcov")
(version "38") (version "39")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/SimonKagstrom/kcov") (url "https://github.com/SimonKagstrom/kcov")
(commit version))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0zqg21xwivi16csl6a5wby6679ny01bjaw4am3y4qcgjdyihifp8")))) "09wf1k4dlpdhqjjgq2bibmgy8i3z32wf0zxhd2px2dvg92m4zwqr"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ;no test target `(#:tests? #f ; no test target
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-/bin/bash-references (add-after 'unpack 'fix-/bin/bash-references
(lambda _ (lambda _
(substitute* (find-files "src" ".*\\.cc?$") (substitute* (find-files "src" ".*\\.cc?$")
(("/bin/bash") (which "bash")) (("/bin/bash") (which "bash"))
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh"))))))))
#t)))))
(inputs (inputs
`(("curl" ,curl) `(("curl" ,curl)
("elfutils" ,elfutils) ("elfutils" ,elfutils)
("libelf" ,libelf) ("libelf" ,libelf)
("openssl" ,openssl)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("python" ,python))) `(("python" ,python)))