depot/third_party/nixpkgs/pkgs/development/tools/gqlgenc/default.nix

25 lines
612 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "gqlgenc";
version = "0.18.0";
src = fetchFromGitHub {
owner = "yamashou";
repo = "gqlgenc";
rev = "v${version}";
sha256 = "sha256-KAUdddVjX1yQLSqnvSAoYPaLL8N8SOfR/gvQ5In4Z/Y=";
};
excludedPackages = [ "example" ];
vendorHash = "sha256-6iwNykvW1m+hl6FzMNbvvPpBNp8OQn2/vfJLmAj60Mw=";
meta = with lib; {
description = "Go tool for building GraphQL client with gqlgen";
homepage = "https://github.com/Yamashou/gqlgenc";
license = licenses.mit;
maintainers = with maintainers; [ milran ];
};
}