exhaustive: init at 0.10.0

This commit is contained in:
Abin Simon 2023-03-24 10:22:09 +05:30
parent b9ff605f5e
commit ae3ac99d57
2 changed files with 29 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -24755,6 +24755,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 { };