Merge pull request #222842 from meain/exhaustive

This commit is contained in:
figsoda
2023-03-27 09:23:59 -04:00
committed by GitHub
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "exhaustive";
version = "0.10.0";
src = fetchFromGitHub {
owner = "nishanths";
repo = "exhaustive";
rev = "v${version}";
hash = "sha256-vMoFIyZcAdObeQD5bGcQHlGpJv/a8yl/2HUVc8aDiIA=";
};
vendorHash = "sha256-i3Cgefe4krvH99N233IeEWkVt9AhdzROkJ5JBeTIaAs=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Check exhaustiveness of switch statements of enum-like constants in Go code";
homepage = "https://github.com/nishanths/exhaustive";
license = licenses.bsd2;
maintainers = with maintainers; [ meain ];
};
}
+2
View File
@@ -24748,6 +24748,8 @@ with pkgs;
ejabberd = callPackage ../servers/xmpp/ejabberd { erlang = erlang_24; };
exhaustive = callPackage ../development/tools/exhaustive { };
exhibitor = callPackage ../servers/exhibitor { };
hyp = callPackage ../servers/http/hyp { };