Skip to content

Commit

Permalink
gqlgen: init at 0.17.63 (#374121)
Browse files Browse the repository at this point in the history
  • Loading branch information
katexochen authored Jan 16, 2025
2 parents d3a5ff6 + b07c183 commit 1bda1e5
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
47 changes: 47 additions & 0 deletions pkgs/by-name/gq/gqlgen/package.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

0 comments on commit 1bda1e5

Please sign in to comment.