mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
gnu: go-github-com-wtolson-go-taglib: Move to music.
* gnu/packages/golang.scm (go-github-com-wtolson-go-taglib): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: I2b5234ac631cb11c663fdebc4173b707a3faace0
This commit is contained in:
parent
ba63b19618
commit
28a706dcf7
2 changed files with 42 additions and 40 deletions
|
@ -1211,46 +1211,6 @@ methods can be called and usual operations such as indexing or arithmetic can
|
||||||
be performed.")
|
be performed.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public go-github-com-wtolson-go-taglib
|
|
||||||
(let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
|
|
||||||
(revision "0"))
|
|
||||||
(package
|
|
||||||
(name "go-github-com-wtolson-go-taglib")
|
|
||||||
(version (git-version "0.0.0" revision commit))
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url
|
|
||||||
"https://github.com/wtolson/go-taglib")
|
|
||||||
(commit commit)))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
;; 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
|
|
||||||
(list pkg-config taglib))
|
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/wtolson/go-taglib"
|
|
||||||
;; Tests don't pass "vet" on Go since 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")
|
|
||||||
(license license:unlicense))))
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
||||||
;;; of a merge conflict, place them above by existing packages with similar
|
;;; of a merge conflict, place them above by existing packages with similar
|
||||||
|
|
|
@ -6328,6 +6328,48 @@ discard bad quality ones.
|
||||||
@end itemize\n")
|
@end itemize\n")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
|
;; demlo is only one user of this package, keep it next to it to prevent
|
||||||
|
;; importing taglib module into golang-xyz.
|
||||||
|
(define-public go-github-com-wtolson-go-taglib
|
||||||
|
(let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "go-github-com-wtolson-go-taglib")
|
||||||
|
(version (git-version "0.0.0" revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url
|
||||||
|
"https://github.com/wtolson/go-taglib")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
;; 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
|
||||||
|
(list pkg-config taglib))
|
||||||
|
(arguments
|
||||||
|
`(#:import-path "github.com/wtolson/go-taglib"
|
||||||
|
;; Tests don't pass "vet" on Go since 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")
|
||||||
|
(license license:unlicense))))
|
||||||
|
|
||||||
(define-public fmit
|
(define-public fmit
|
||||||
(package
|
(package
|
||||||
(name "fmit")
|
(name "fmit")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue