1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/tools/mockgen/default.nix
2020-07-26 14:22:57 +10:00

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