Merge pull request #114985 from cideM/init-go-mockery
This commit is contained in:
commit
f0ca9c829d
|
@ -3071,6 +3071,12 @@
|
|||
githubId = 1276854;
|
||||
name = "Florian Peter";
|
||||
};
|
||||
fbrs = {
|
||||
email = "yuuki@protonmail.com";
|
||||
github = "cideM";
|
||||
githubId = 4246921;
|
||||
name = "Florian Beeres";
|
||||
};
|
||||
fdns = {
|
||||
email = "fdns02@gmail.com";
|
||||
github = "fdns";
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-mockery";
|
||||
version = "2.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vektra";
|
||||
repo = "mockery";
|
||||
rev = "v${version}";
|
||||
sha256 = "5W5WGWqxpZzOqk1VOlLeggIqfneRb7s7ZT5faNEhDos=";
|
||||
};
|
||||
|
||||
vendorSha256 = "//V3ia3YP1hPgC1ipScURZ5uXU4A2keoG6dGuwaPBcA=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/vektra/mockery";
|
||||
description = "A mock code autogenerator for Golang";
|
||||
maintainers = with maintainers; [ fbrs ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -19895,6 +19895,8 @@ in
|
|||
|
||||
go-migrate = callPackage ../development/tools/go-migrate { };
|
||||
|
||||
go-mockery = callPackage ../development/tools/go-mockery { };
|
||||
|
||||
gomacro = callPackage ../development/tools/gomacro { };
|
||||
|
||||
gomodifytags = callPackage ../development/tools/gomodifytags { };
|
||||
|
|
Loading…
Reference in New Issue