gorm-gentool: 0.0.1 -> 0.0.2, use buildGoModule
The previously used Go version is end-of-life. Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
@@ -1,26 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
# Build fails with Go 1.25, with the following error:
|
||||
# 'vendor/golang.org/x/tools/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)'
|
||||
# Wait for upstream to update their vendored dependencies before unpinning.
|
||||
buildGo124Module,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGo124Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "gorm-gentool";
|
||||
version = "0.0.1";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "go-gorm";
|
||||
repo = "gen";
|
||||
rev = "tools/gentool/v${version}";
|
||||
hash = "sha256-JOecNYEIL8vbc7znkKbaSrTkGyAva3ZzKzxducDtTx0=";
|
||||
hash = "sha256-8xuprFktGflx/5BR3Sbzx/MWerSp57q2Ky2Yn5P6Y28=";
|
||||
};
|
||||
|
||||
modRoot = "tools/gentool";
|
||||
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-8xUJcsZuZ1KpFDM1AMTRggl7A7C/YaXYDzRKNFKE+ww=";
|
||||
vendorHash = "sha256-0VU+zGQb6Ob9V2zOsUO5+ObUFdQO26236Ei2/TqjTBs=";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/go-gorm/gen";
|
||||
|
||||
Reference in New Issue
Block a user