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