mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:53:41 +00:00
21 lines
611 B
Nix
21 lines
611 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
buildGoModule rec {
|
|
pname = "mockgen";
|
|
version = "1.4.3";
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "mock";
|
|
rev = "v${version}";
|
|
sha256 = "1p37xnja1dgq5ykx24n7wincwz2gahjh71b95p8vpw7ss2g8j8wx";
|
|
};
|
|
vendorSha256 = "1kpiij3pimwv3gn28rbrdvlw9q5c76lzw6zpa12q6pgck76acdw4";
|
|
subPackages = [ "mockgen" ];
|
|
|
|
meta = with lib; {
|
|
description = "GoMock is a mocking framework for the Go programming language.";
|
|
homepage = "https://github.com/golang/mock";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ bouk ];
|
|
};
|
|
}
|