goverter: init at 1.7.0 (#375368)

This commit is contained in:
Felix Bargfeldt
2025-04-26 00:13:33 +02:00
committed by GitHub
+32
View File
@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "goverter";
version = "1.7.0";
src = fetchFromGitHub {
owner = "jmattheis";
repo = "goverter";
tag = "v${version}";
hash = "sha256-VgwmnB6FP7hlUrZpKun38T4K2YSDl9yYuMjdzsEhCF4=";
};
vendorHash = "sha256-uQ1qKZLRwsgXKqSAERSqf+1cYKp6MTeVbfGs+qcdakE=";
subPackages = [ "cmd/goverter" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Generate type-safe Go converters by defining function signatures.";
homepage = "https://github.com/jmattheis/goverter";
changelog = "https://goverter.jmattheis.de/changelog";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ krostar ];
mainProgram = "goverter";
};
}