3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/mockgen/default.nix

24 lines
629 B
Nix
Raw Normal View History

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=";
doCheck = false;
2020-06-22 13:50:31 +01:00
subPackages = [ "mockgen" ];
meta = with lib; {
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 ];
};
}