import: go: Fix parsing of pkg.go.dev licenses after site update.
authorSarah Morgensen via Guix-patches via <guix-patches@gnu.org>
Fri, 16 Jul 2021 01:41:49 +0000 (18:41 -0700)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sun, 18 Jul 2021 02:13:39 +0000 (22:13 -0400)
commit59d20bcfcc92e51fb451001ed52b21f6daf8013c
treeeec874a50152bc029d27da230c0853e8d1a9306c
parent2aa65869bacd901abfa93c98ce39afbd446f3ed2
import: go: Fix parsing of pkg.go.dev licenses after site update.

* guix/import/go.scm (go-package-licenses): Find license names in
'h2 // div // *text*' elements rather than 'h2 // *text*' elements.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
guix/import/go.scm