Merge pull request #222842 from meain/exhaustive

authored by figsoda and committed by GitHub 75138e08 a1c45f32

+29
+27
pkgs/development/tools/exhaustive/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "exhaustive"; 8 + version = "0.10.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "nishanths"; 12 + repo = "exhaustive"; 13 + rev = "v${version}"; 14 + hash = "sha256-vMoFIyZcAdObeQD5bGcQHlGpJv/a8yl/2HUVc8aDiIA="; 15 + }; 16 + 17 + vendorHash = "sha256-i3Cgefe4krvH99N233IeEWkVt9AhdzROkJ5JBeTIaAs="; 18 + 19 + ldflags = [ "-s" "-w" ]; 20 + 21 + meta = with lib; { 22 + description = "Check exhaustiveness of switch statements of enum-like constants in Go code"; 23 + homepage = "https://github.com/nishanths/exhaustive"; 24 + license = licenses.bsd2; 25 + maintainers = with maintainers; [ meain ]; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 24748 24749 ejabberd = callPackage ../servers/xmpp/ejabberd { erlang = erlang_24; }; 24750 24751 exhibitor = callPackage ../servers/exhibitor { }; 24752 24753 hyp = callPackage ../servers/http/hyp { };
··· 24748 24749 ejabberd = callPackage ../servers/xmpp/ejabberd { erlang = erlang_24; }; 24750 24751 + exhaustive = callPackage ../development/tools/exhaustive { }; 24752 + 24753 exhibitor = callPackage ../servers/exhibitor { }; 24754 24755 hyp = callPackage ../servers/http/hyp { };