Merge pull request #114985 from cideM/init-go-mockery

This commit is contained in:
Sandro 2021-03-03 18:41:05 +01:00 committed by GitHub
commit f0ca9c829d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View File

@ -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";

View File

@ -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;
};
}

View File

@ -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 { };