depot/third_party/nixpkgs/pkgs/development/tools/gqlgenc/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

25 lines
641 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "gqlgenc";
version = "0.22.0";
src = fetchFromGitHub {
owner = "yamashou";
repo = "gqlgenc";
rev = "v${version}";
sha256 = "sha256-hGX9DiGpJOOjQEaT9qnpeS1ODfo4pd03WlvT3aaSK2w=";
};
excludedPackages = [ "example" ];
vendorHash = "sha256-lQ2KQF+55qvscnYfm1jLK/4DdwFBaRZmv9oa/BUSoXI=";
meta = with lib; {
description = "Go tool for building GraphQL client with gqlgen";
mainProgram = "gqlgenc";
homepage = "https://github.com/Yamashou/gqlgenc";
license = licenses.mit;
maintainers = with maintainers; [ milran ];
};
}