Skip to content

Commit

Permalink
gqlgen: init at 0.17.63
Browse files Browse the repository at this point in the history
  • Loading branch information
skowalak committed Jan 15, 2025
1 parent 6a0afb0 commit 919c4ae
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/by-name/gq/gqlgen/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:

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 =
let
# Skip tests that want to run "go mod tidy"
skippedTests = [
"TestGenerate"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];

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 919c4ae

Please sign in to comment.