depot/third_party/nixpkgs/pkgs/development/tools/impl/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

26 lines
691 B
Nix

{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "impl";
version = "1.0.0";
src = fetchFromGitHub {
owner = "josharian";
repo = "impl";
rev = "v${version}";
sha256 = "0l21fkcgiaaf6ka91dmz8hx0l3nbp0kqi8p25kij1s5zb796z0dy";
};
vendorSha256 = "0xkalwy02w62px01jdwwr3vwwsh50f22dsxf8lrrwmw6k0rq57zv";
# go: cannot find GOROOT directory: go
doCheck = false;
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;
};
}