mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-pion-transport-v2: Fix import paths.
* gnu/packages/golang-web.scm (go-github-com-pion-transport-v2): [arguments] <phases>: Add 'fix-module-paths, they were not adjusted in source when v2 was released. Change-Id: Ie28bcc3921bbe76e3721340af76a3dad6b8c53e3
This commit is contained in:
parent
795df34166
commit
088bdaed4c
1 changed files with 8 additions and 1 deletions
|
@ -5240,7 +5240,14 @@ throughout the @url{https://github.com/pion, Pion} modules.")
|
||||||
(base32 "0g5pg6mz61blprccxzysbwldkil84qgwp6404lsp4m9wh44312hf"))))
|
(base32 "0g5pg6mz61blprccxzysbwldkil84qgwp6404lsp4m9wh44312hf"))))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/pion/transport/v2"))
|
#:import-path "github.com/pion/transport/v2"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-module-paths
|
||||||
|
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||||
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
|
(substitute* (find-files "." "\\.go$")
|
||||||
|
(("github.com/pion/transport/v3") import-path))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-stretchr-testify))
|
(list go-github-com-stretchr-testify))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue