12 src = fetchFromGitHub {
16 sha256 = "sha256-3nt70xrZisK5vgQa+STZPiY4F9ITKw8PbBWcKoBn4Vc=";
19 vendorHash = "sha256-mcNVud2jzvlPPQEaar/eYZkP71V2Civz+R5v10+tewA=";
23 subPackages = [ "mockgen" ];
26 "-X=main.version=${version}"
27 "-X=main.date=1970-01-01T00:00:00Z"
28 "-X=main.commit=unknown"
31 passthru.tests.version = testers.testVersion {
33 command = "mockgen -version";
37 Date: 1970-01-01T00:00:00Z
42 description = "GoMock is a mocking framework for the Go programming language";
43 homepage = "https://github.com/uber-go/mock";
44 changelog = "https://github.com/uber-go/mock/blob/v${version}/CHANGELOG.md";
45 license = licenses.asl20;
46 maintainers = with maintainers; [ bouk ];
47 mainProgram = "mockgen";