2023-03-08 16:32:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gqlgenc";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "0.25.2";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamashou";
|
|
|
|
repo = "gqlgenc";
|
|
|
|
rev = "v${version}";
|
2024-10-04 16:56:33 +00:00
|
|
|
sha256 = "sha256-g+l493Nt0SuW4gwJh0s9Zeejpyx2oLxVDykIvBup638=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
excludedPackages = [ "example" ];
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
vendorHash = "sha256-YGFMQrxghJIgmiwEPfEqaACH7OETVkD8O7oUhm9foJo=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|