2020-08-20 17:08:02 +00:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mockgen";
|
2021-08-18 13:19:15 +00:00
|
|
|
version = "1.6.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = "mock";
|
|
|
|
rev = "v${version}";
|
2021-08-18 13:19:15 +00:00
|
|
|
sha256 = "sha256-5Kp7oTmd8kqUN+rzm9cLqp9nb3jZdQyltGGQDiRSWcE=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
2021-08-18 13:19:15 +00:00
|
|
|
vendorSha256 = "sha256-5gkrn+OxbNN8J1lbgbxM8jACtKA7t07sbfJ7gVJWpJM=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
subPackages = [ "mockgen" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "GoMock is a mocking framework for the Go programming language";
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://github.com/golang/mock";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bouk ];
|
|
|
|
};
|
|
|
|
}
|