gqlgen: init at 0.17.63 (#374121)

This commit is contained in:
Paul Meyer
2025-01-16 11:10:45 +01:00
committed by GitHub
2 changed files with 53 additions and 0 deletions
+6
View File
@@ -21318,6 +21318,12 @@
githubId = 49844593;
name = "skovati";
};
skowalak = {
github = "skowalak";
githubId = 26260032;
name = "Sebastian Kowalak";
matrix = "@scl:tchncs.de";
};
skyesoss = {
name = "Skye Soss";
matrix = "@skyesoss:matrix.org";
+47
View File
@@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
buildGoModule,
versionCheckHook,
}:
let
version = "0.17.63";
in
buildGoModule {
pname = "gqlgen";
inherit version;
src = fetchFromGitHub {
owner = "99designs";
repo = "gqlgen";
tag = "v${version}";
hash = "sha256-J9+pleHdbQMHP/Aq9Pl6ise6PDvRqxQ72Iq7SNxgMws=";
};
vendorHash = "sha256-hPUWYOfCx+kW2dJsjkCE/7bwofnGdQbDTvfZ877/pCk=";
subPackages = [ "." ];
env.CGO_ENABLED = 0;
checkFlags = [
"-skip=^TestGenerate$" # skip tests that want to run `go mod tidy`
];
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgramArg = "version";
meta = {
homepage = "https://github.com/99designs/gqlgen";
changelog = "https://github.com/99designs/gqlgen/releases/tag/v${version}";
description = "go generate based graphql server library";
license = lib.licenses.mit;
mainProgram = "gqlgen";
maintainers = with lib.maintainers; [ skowalak ];
};
}