Skip to content

Commit

Permalink
exhaustive: 0.10.0 -> 0.12.0 (#345348)
Browse files Browse the repository at this point in the history
  • Loading branch information
h7x4 authored Sep 30, 2024
2 parents ebc6ba4 + 9de4b99 commit 4a35036
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkgs/development/tools/exhaustive/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
, nix-update-script
}:

buildGoModule rec {
pname = "exhaustive";
version = "0.10.0";
version = "0.12.0";

src = fetchFromGitHub {
owner = "nishanths";
repo = "exhaustive";
rev = "v${version}";
hash = "sha256-vMoFIyZcAdObeQD5bGcQHlGpJv/a8yl/2HUVc8aDiIA=";
hash = "sha256-OLIdtKzCqnBkzdUSIl+UlENeMl3zrBE47pLWPg+6qXw=";
};

vendorHash = "sha256-i3Cgefe4krvH99N233IeEWkVt9AhdzROkJ5JBeTIaAs=";
vendorHash = "sha256-DyN2z6+lA/163k6TTQZ+ypm9s2EV93zvSo/yKQZXvCg=";

ldflags = [ "-s" "-w" ];

passthru = {
updateScript = nix-update-script { };
};

meta = with lib; {
description = "Check exhaustiveness of switch statements of enum-like constants in Go code";
mainProgram = "exhaustive";
Expand Down

0 comments on commit 4a35036

Please sign in to comment.