1{
2 buildGoModule,
3 lib,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "impl";
9 version = "1.4.0";
10
11 src = fetchFromGitHub {
12 owner = "josharian";
13 repo = "impl";
14 rev = "v${version}";
15 hash = "sha256-0TSyg7YEPur+h0tkDxI3twr2PzT7tmo3shKgmSSJ6qk=";
16 };
17
18 vendorHash = "sha256-vTqDoM/LK5SHkayLKYig+tCrXLelOoILmQGCxlTWHog=";
19
20 meta = with lib; {
21 description = "Generate method stubs for implementing an interface";
22 mainProgram = "impl";
23 homepage = "https://github.com/josharian/impl";
24 license = licenses.mit;
25 maintainers = with maintainers; [ kalbasit ];
26 };
27}