bobgen: init at 0.42.0 (#420450)

This commit is contained in:
Sandro
2026-05-31 15:32:06 +00:00
committed by GitHub
2 changed files with 46 additions and 0 deletions

View File

@@ -26131,6 +26131,12 @@
name = "sportshead";
keys = [ { fingerprint = "A6B6 D031 782E BDF7 631A 8E7E A874 DB2C BFD3 CFD0"; } ];
};
spotdemo4 = {
email = "me@trev.xyz";
github = "spotdemo4";
githubId = 3732640;
name = "spotdemo4";
};
spreetin = {
email = "spreetin@protonmail.com";
name = "David Falk";

View File

@@ -0,0 +1,40 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "bobgen";
version = "0.42.0";
src = fetchFromGitHub {
owner = "stephenafamo";
repo = "bob";
tag = "v${finalAttrs.version}";
hash = "sha256-reTvQDUqsRmdl0RyCWoUoF8dc/ZrSZxR8x8++VC4H3A=";
};
vendorHash = "sha256-Jqlah37+tfNqsgeL/MnbVUmSfU2JWMJDb9AQrEqXnXU=";
subPackages = [
"gen/bobgen-sql"
"gen/bobgen-psql"
"gen/bobgen-mysql"
"gen/bobgen-sqlite"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "SQL query builder and ORM/Factory generator for Go";
homepage = "https://github.com/stephenafamo/bob";
changelog = "https://github.com/stephenafamo/bob/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
spotdemo4
];
platforms = lib.platforms.all;
};
})