1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 hash = "sha256-bV/bb577JzGF37HmvRprxr+GWcLLiFRisURwtGDbqko=";
15 # Bump the minimum version of Go required to compile packages in this module,
16 # as `golang.org/x/tools` requires go1.18 or later.
20 vendorHash = "sha256-7IW97ZvCGlKCiVh8mKQutTdAxih7oFkXrKo4h3Pl9YY=";
22 subPackages = [ "cmd/wire" ];
24 ldflags = [ "-s" "-w" ];
27 homepage = "https://github.com/google/wire";
28 description = "A code generation tool that automates connecting components using dependency injection";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ svrana ];