mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: go-github-com-go-task-slim-sprig: Enable tests.
* gnu/packages/golang-xyz.scm (go-github-com-go-task-slim-sprig) [arguments] <#:tests>: Enable it. <#:phases>: Add 'remove-failing-tests phase. Change-Id: I32424925a96defd69e2871dee079db8bef2861b2
This commit is contained in:
parent
697252da1c
commit
33a2644963
1 changed files with 9 additions and 3 deletions
|
@ -1404,9 +1404,15 @@ (define-public go-github-com-go-task-slim-sprig
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; Tests try to access the network.
|
#:import-path "github.com/go-task/slim-sprig"
|
||||||
#:tests? #f
|
#:phases
|
||||||
#:import-path "github.com/go-task/slim-sprig"))
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-failing-tests
|
||||||
|
(lambda* (#:key import-path #:allow-other-keys)
|
||||||
|
(delete-file
|
||||||
|
(string-append "src/" import-path "/network_test.go")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
(home-page "https://github.com/go-task/slim-sprig")
|
(home-page "https://github.com/go-task/slim-sprig")
|
||||||
(synopsis "Various useful template functions for Go")
|
(synopsis "Various useful template functions for Go")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue