Merge pull request #319892 from tembleking/gorm-gentool

gorm-gentool: init at 0.0.1
This commit is contained in:
Aleksana 2024-07-08 15:23:35 +08:00 committed by GitHub
commit c5027e9aa5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 0 deletions

View File

@ -19768,6 +19768,12 @@
githubId = 1755789;
name = "Robert Irelan";
};
tembleking = {
name = "Fede Barcelona";
email = "fede_rico_94@hotmail.com";
github = "tembleking";
githubId = 2988780;
};
tengkuizdihar = {
name = "Tengku Izdihar";
email = "tengkuizdihar@gmail.com";

View File

@ -0,0 +1,29 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gorm-gentool";
version = "0.0.1";
src = fetchFromGitHub {
owner = "go-gorm";
repo = "gen";
rev = "tools/gentool/v${version}";
hash = "sha256-JOecNYEIL8vbc7znkKbaSrTkGyAva3ZzKzxducDtTx0=";
};
modRoot = "tools/gentool";
proxyVendor = true;
vendorHash = "sha256-8xUJcsZuZ1KpFDM1AMTRggl7A7C/YaXYDzRKNFKE+ww=";
meta = with lib; {
homepage = "https://github.com/go-gorm/gen";
description = "Gen: Friendly & Safer GORM powered by Code Generation";
license = licenses.mit;
mainProgram = "gentool";
maintainers = with maintainers; [tembleking];
};
}