nwg-shell: use go-mod-update-modules class

cleanup
This commit is contained in:
Markus Volk
2025-07-02 14:52:06 +02:00
parent 845917e642
commit eeee1562e3
23 changed files with 106 additions and 21 deletions

View File

@ -0,0 +1,16 @@
SUMMARY = "Go version of the psuinfo python script."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=22ed6cb3c33862e689e075b45066a779"
GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=${BP}/src/${GO_IMPORT};branch=main;protocol=https"
SRCREV = "60e4f83b6c4d84955e0a07f7bdc63d8089b4ba1e"
inherit go go-mod go-mod-update-modules
require ${PN}-go-mods.inc ${PN}-licenses.inc
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""