biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / go-minimock / default.nix
blob10010fa822237dcbdaee06c147be4fd8991562a4
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "go-minimock";
5   version = "3.3.7";
7   src = fetchFromGitHub {
8     owner = "gojuno";
9     repo = "minimock";
10     rev = "v${version}";
11     sha256 = "sha256-jwQT3JmVFS7e6wr+hCFLlA1YhiKdTrMai0RfClJafJQ=";
12   };
14   ldflags = [
15     "-s" "-w" "-X main.version=${version}"
16   ];
18   vendorHash = "sha256-vcYhLMs/skZlhzdeEWUcv28VkRvraavziBwbwrgLZio=";
20   doCheck = true;
22   subPackages = [ "cmd/minimock" "." ];
24   meta = with lib; {
25     homepage = "https://github.com/gojuno/minimock";
26     description = "A golang mock generator from interfaces";
27     license = licenses.mit;
28     maintainers = with maintainers; [ svrana ];
29     mainProgram = "minimock";
30   };