mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: go-github-com-wtolson-go-taglib: Fix tests and build for go-1.11.
* gnu/packages/golang.scm (go-github-com-wtolson-go-taglib)[arguments]: Fix tests for go-1.11. [native-inputs]: Remove pkg-config and taglib. [propagated-inputs]: Add pkg-config and taglib.
This commit is contained in:
parent
66fa8f0f77
commit
46a4ae2212
1 changed files with 15 additions and 2 deletions
|
@ -2419,11 +2419,24 @@ (define-public go-github-com-wtolson-go-taglib
|
|||
(base32
|
||||
"1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
|
||||
(build-system go-build-system)
|
||||
(native-inputs
|
||||
;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
|
||||
;; when this package required as input for another one, it will have to
|
||||
;; be built again. Thus its CGO requirements must be made available in
|
||||
;; the environment, that is, they must be propagated.
|
||||
(propagated-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("taglib" ,taglib)))
|
||||
(arguments
|
||||
`(#:import-path "github.com/wtolson/go-taglib"))
|
||||
`(#:import-path "github.com/wtolson/go-taglib"
|
||||
;; Tests don't pass "vet" on go-1.11. See
|
||||
;; https://github.com/wtolson/go-taglib/issues/12.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path #:allow-other-keys)
|
||||
(invoke "go" "test"
|
||||
"-vet=off"
|
||||
import-path))))))
|
||||
(home-page "https://github.com/wtolson/go-taglib")
|
||||
(synopsis "Go wrapper for taglib")
|
||||
(description "Go wrapper for taglib")
|
||||
|
|
Loading…
Reference in a new issue