|
|
|
@ -2,25 +2,25 @@ |
|
|
|
|
|
|
|
|
|
buildGoModule rec { |
|
|
|
|
pname = "impl"; |
|
|
|
|
version = "1.0.0"; |
|
|
|
|
version = "1.1.0"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "josharian"; |
|
|
|
|
repo = "impl"; |
|
|
|
|
rev = "v${version}"; |
|
|
|
|
sha256 = "0l21fkcgiaaf6ka91dmz8hx0l3nbp0kqi8p25kij1s5zb796z0dy"; |
|
|
|
|
sha256 = "sha256-OztQR1NusP7/FTm5kmuSSi1AC47DJFki7vVlPQIl6+8="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
vendorSha256 = "0xkalwy02w62px01jdwwr3vwwsh50f22dsxf8lrrwmw6k0rq57zv"; |
|
|
|
|
vendorSha256 = "sha256-+5+CM5iGV54zRa7rJoQDBWrO98icNxlAv8JwATynanY="; |
|
|
|
|
|
|
|
|
|
# go: cannot find GOROOT directory: go |
|
|
|
|
doCheck = false; |
|
|
|
|
preCheck = '' |
|
|
|
|
export GOROOT="$(go env GOROOT)" |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Generate method stubs for implementing an interface"; |
|
|
|
|
homepage = "https://github.com/josharian/impl"; |
|
|
|
|
license = licenses.mit; |
|
|
|
|
maintainers = with maintainers; [ kalbasit ]; |
|
|
|
|
platforms = platforms.linux ++ platforms.darwin; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|