Merge pull request #107509 from svrana/minimock

go-minimock: init at 3.0.8
This commit is contained in:
Doron Behar 2020-12-25 19:31:46 +02:00 committed by GitHub
commit de3c881395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View File

@ -8573,6 +8573,12 @@
githubId = 1040871;
name = "Mathis Antony";
};
svrana = {
email = "shaw@vranix.com";
github = "svrana";
githubId = 850665;
name = "Shaw Vrana";
};
svsdep = {
email = "svsdep@gmail.com";
github = "svsdep";

View File

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-minimock";
version = "3.0.8";
src = fetchFromGitHub {
owner = "gojuno";
repo = "minimock";
rev = "v${version}";
sha256 = "0r0krbwvx5w1z0yv2qqi92irbsfhkvwvaigy350cvcz9gmcppj4h";
};
vendorSha256 = "1macwm6hybjinwnx62v146yxydcn5k5r587nxwkf4ffy76s2m3jc";
doCheck = true;
subPackages = [ "cmd/minimock" "." ];
meta = with lib; {
homepage = "https://github.com/gojuno/minimock";
description = "A golang mock generator from interfaces";
license = licenses.mit;
maintainers = with maintainers; [ svrana ];
};
}

View File

@ -18954,6 +18954,8 @@ in
go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { };
go-minimock = callPackage ../development/tools/go-minimock { };
go-protobuf = callPackage ../development/tools/go-protobuf { };
go-symbols = callPackage ../development/tools/go-symbols { };