2020-06-22 13:50:31 +01:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mockgen";
|
2020-08-02 08:10:58 +01:00
|
|
|
version = "1.4.4";
|
2020-06-22 13:50:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = "mock";
|
|
|
|
rev = "v${version}";
|
2020-08-02 08:10:58 +01:00
|
|
|
sha256 = "1lj0dvd6div4jaq1s0afpwqaq9ah8cxhkq93wii2ably1xmp2l0a";
|
2020-06-22 13:50:31 +01:00
|
|
|
};
|
2020-08-02 08:10:58 +01:00
|
|
|
vendorSha256 = "1md4cg1zzhc276sc7i2v0xvg5pf6gzy0n9ga2g1lx3d572igq1wy";
|
2020-06-22 13:50:31 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|