2023-03-08 16:32:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gqlgenc";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.20.0";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamashou";
|
|
|
|
repo = "gqlgenc";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-RniriePoHo608PlT3XrxogWI2oXq0Q48+Jaxz/2xIVo=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
excludedPackages = [ "example" ];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
vendorHash = "sha256-lQ2KQF+55qvscnYfm1jLK/4DdwFBaRZmv9oa/BUSoXI=";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Go tool for building GraphQL client with gqlgen";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gqlgenc";
|
2023-03-08 16:32:21 +00:00
|
|
|
homepage = "https://github.com/Yamashou/gqlgenc";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ milran ];
|
|
|
|
};
|
|
|
|
}
|