depot/third_party/nixpkgs/pkgs/development/tools/mockgen/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

23 lines
632 B
Nix

{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "mockgen";
version = "1.4.4";
src = fetchFromGitHub {
owner = "golang";
repo = "mock";
rev = "v${version}";
sha256 = "1lj0dvd6div4jaq1s0afpwqaq9ah8cxhkq93wii2ably1xmp2l0a";
};
vendorSha256 = "1md4cg1zzhc276sc7i2v0xvg5pf6gzy0n9ga2g1lx3d572igq1wy";
doCheck = false;
subPackages = [ "mockgen" ];
meta = with lib; {
description = "GoMock is a mocking framework for the Go programming language.";
homepage = "https://github.com/golang/mock";
license = licenses.asl20;
maintainers = with maintainers; [ bouk ];
};
}