1{ buildGoModule, lib, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "impl";
5 version = "1.0.0";
6
7 src = fetchFromGitHub {
8 owner = "josharian";
9 repo = "impl";
10 rev = "v${version}";
11 sha256 = "0l21fkcgiaaf6ka91dmz8hx0l3nbp0kqi8p25kij1s5zb796z0dy";
12 };
13
14 vendorSha256 = "0xkalwy02w62px01jdwwr3vwwsh50f22dsxf8lrrwmw6k0rq57zv";
15
16 # go: cannot find GOROOT directory: go
17 doCheck = false;
18
19 meta = with lib; {
20 description = "Generate method stubs for implementing an interface";
21 homepage = "https://github.com/josharian/impl";
22 license = licenses.mit;
23 maintainers = with maintainers; [ kalbasit ];
24 platforms = platforms.linux ++ platforms.darwin;
25 };
26}