2023-03-08 16:32:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gqlgenc";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "0.15.1";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamashou";
|
|
|
|
repo = "gqlgenc";
|
|
|
|
rev = "v${version}";
|
2023-10-19 13:55:26 +00:00
|
|
|
sha256 = "sha256-yboht3dE8njp+q5RzdaM7Bc3BVsPr7HlVM1UbRN+Bds=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
excludedPackages = [ "example" ];
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
vendorHash = "sha256-6iwNykvW1m+hl6FzMNbvvPpBNp8OQn2/vfJLmAj60Mw=";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|