ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
641 B
Nix
26 lines
641 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gqlgenc";
|
|
version = "0.19.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yamashou";
|
|
repo = "gqlgenc";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-deaJFw1w5TiJIdbTlgEBhpAyDbkjUzqT3vVl+xDUXm4=";
|
|
};
|
|
|
|
excludedPackages = [ "example" ];
|
|
|
|
vendorHash = "sha256-lQ2KQF+55qvscnYfm1jLK/4DdwFBaRZmv9oa/BUSoXI=";
|
|
|
|
meta = with lib; {
|
|
description = "Go tool for building GraphQL client with gqlgen";
|
|
mainProgram = "gqlgenc";
|
|
homepage = "https://github.com/Yamashou/gqlgenc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ milran ];
|
|
};
|
|
}
|