biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / exhaustive / default.nix
blob078d886b09734ac4e2777e0d1c181ec87d2e489c
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "exhaustive";
8   version = "0.10.0";
10   src = fetchFromGitHub {
11     owner = "nishanths";
12     repo = "exhaustive";
13     rev = "v${version}";
14     hash = "sha256-vMoFIyZcAdObeQD5bGcQHlGpJv/a8yl/2HUVc8aDiIA=";
15   };
17   vendorHash = "sha256-i3Cgefe4krvH99N233IeEWkVt9AhdzROkJ5JBeTIaAs=";
19   ldflags = [ "-s" "-w" ];
21   meta = with lib; {
22     description = "Check exhaustiveness of switch statements of enum-like constants in Go code";
23     mainProgram = "exhaustive";
24     homepage = "https://github.com/nishanths/exhaustive";
25     license = licenses.bsd2;
26     maintainers = with maintainers; [ meain ];
27   };