2020-12-29 01:49:19 -08:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
2018-11-02 21:47:38 -07:00
|
|
|
|
2020-12-29 01:49:19 -08:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "impl";
|
|
|
|
version = "1.0.0";
|
2018-11-02 21:47:38 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "josharian";
|
|
|
|
repo = "impl";
|
2020-12-29 01:49:19 -08:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0l21fkcgiaaf6ka91dmz8hx0l3nbp0kqi8p25kij1s5zb796z0dy";
|
2018-11-02 21:47:38 -07:00
|
|
|
};
|
|
|
|
|
2020-12-29 01:49:19 -08:00
|
|
|
vendorSha256 = "0xkalwy02w62px01jdwwr3vwwsh50f22dsxf8lrrwmw6k0rq57zv";
|
|
|
|
|
|
|
|
# go: cannot find GOROOT directory: go
|
|
|
|
doCheck = false;
|
2018-11-02 21:47:38 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-25 21:08:40 -07:00
|
|
|
description = "Generate method stubs for implementing an interface";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/josharian/impl";
|
2018-11-02 21:47:38 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|