Skip to content

Commit

Permalink
Add gqlgen package
Browse files Browse the repository at this point in the history
Signed-off-by: micnncim <micnncim@gmail.com>
  • Loading branch information
micnncim committed Apr 23, 2024
1 parent e8830ae commit 5bc96b7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

gctx = pkgs.callPackage ./pkgs/gctx { };
gh-sync = pkgs.callPackage ./pkgs/gh-sync { };
gqlgen = pkgs.callPackage ./pkgs/gqlgen { };
kubectl-reveal-secret = pkgs.callPackage ./pkgs/kubectl-reveal { };
mockgen = pkgs.callPackage ./pkgs/mockgen { };
slack-cli = pkgs.callPackage ./pkgs/slack-cli { };
Expand Down
15 changes: 15 additions & 0 deletions pkgs/gqlgen/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
pname = "gqlgen";
version = "0.17.45";

src = fetchFromGitHub {
owner = "99designs";
repo = "gqlgen";
rev = "v${version}";
hash = "sha256-iWTeI21B/xJu/LFKGYwu0ggjh/59SlE/qm+5aPzyN9U=";
};

vendorSha256 = lib.fakeHash;
}

0 comments on commit 5bc96b7

Please sign in to comment.