2020-06-22 13:50:31 +01:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mockgen";
|
2021-02-21 00:53:29 +00:00
|
|
|
version = "1.5.0";
|
2020-06-22 13:50:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = "mock";
|
|
|
|
rev = "v${version}";
|
2021-02-21 00:53:29 +00:00
|
|
|
sha256 = "sha256-YSPfe8/Ra72qk12+T78mTppvkag0Hw6O7WNyfhG4h4o=";
|
2020-06-22 13:50:31 +01:00
|
|
|
};
|
2021-02-21 00:53:29 +00:00
|
|
|
vendorSha256 = "sha256-cL4a7iOSeaQiG6YO0im9bXxklCL1oyKhEDmB1BtEmEw=";
|
2020-08-04 01:26:27 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-22 13:50:31 +01:00
|
|
|
subPackages = [ "mockgen" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "GoMock is a mocking framework for the Go programming language";
|
2020-06-22 13:50:31 +01:00
|
|
|
homepage = "https://github.com/golang/mock";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bouk ];
|
|
|
|
};
|
|
|
|
}
|