1 { stdenv, buildGoModule, fetchFromGitHub, lib }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-me/KD8bgzA+VU7WrfKlk8HZTInJqhijLAVTiZcJRzms=";
14 vendorSha256 = "sha256-XTe52pytjZYJALBOcnytA8z/d3UHSKcU1lJmJm8Iawo=";
16 subPackages = [ "." ];
21 "-X main.Version=${version}"
25 homepage = "https://github.com/matryer/moq";
26 description = "Interface mocking tool for go generate";
28 Moq is a tool that generates a struct from any interface. The struct can
29 be used in test code as a mock of the interface.
31 license = licenses.mit;
32 maintainers = with maintainers; [ anpryl ];