Merge pull request #170323 from superherointj/package-mockgen-tests

mockgen: fix tests
This commit is contained in:
Sandro 2022-04-26 01:49:04 +02:00 committed by GitHub
commit 294a3412d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,24 @@
{ buildGoModule, lib, fetchFromGitHub }:
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "mockgen";
version = "1.6.0";
src = fetchFromGitHub {
owner = "golang";
repo = "mock";
rev = "v${version}";
sha256 = "sha256-5Kp7oTmd8kqUN+rzm9cLqp9nb3jZdQyltGGQDiRSWcE=";
};
vendorSha256 = "sha256-5gkrn+OxbNN8J1lbgbxM8jACtKA7t07sbfJ7gVJWpJM=";
doCheck = false;
subPackages = [ "mockgen" ];
preCheck = ''
export GOROOT="$(go env GOROOT)"
'';
meta = with lib; {
description = "GoMock is a mocking framework for the Go programming language";
homepage = "https://github.com/golang/mock";