mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
import: go: Emit new-style package inputs.
Since PACKAGE-NAMES->PACKAGE-INPUTS is used by both the go and crate importers, give the crate importer a copy of the original so it continues to use old-style inputs until it is updated. * guix/import/utils.scm (package-names->package-inputs)[make-input]: Return new-style package inputs. (maybe-inputs): Wrap PACKAGE-INPUTS in 'list' instead of 'quasiquote'. * guix/import/crate.scm (package-names->package-inputs): New variable. * tests/go.scm ("go-module->guix-package"): Adjust to new-style package inputs. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
b8af6694b9
commit
af85c38b01
3 changed files with 23 additions and 8 deletions
|
@ -389,7 +389,7 @@ require github.com/kr/pretty v0.2.1
|
|||
(arguments
|
||||
(list #:import-path "github.com/go-check/check"))
|
||||
(propagated-inputs
|
||||
`(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
|
||||
(list go-github-com-kr-pretty))
|
||||
(home-page "https://github.com/go-check/check")
|
||||
(synopsis "Instructions")
|
||||
(description "Package check is a rich testing extension for Go's testing \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue