2023-03-08 16:32:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gqlgenc";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.22.0";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamashou";
|
|
|
|
repo = "gqlgenc";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-hGX9DiGpJOOjQEaT9qnpeS1ODfo4pd03WlvT3aaSK2w=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|