12 src = fetchFromGitHub {
13 owner = "gordonklaus";
15 rev = "refs/tags/v${version}";
16 hash = "sha256-JVrAIspRL6XvDd/AnPFt9IJPQ0hY1KPwXvldAfwYkzU=";
20 ./0001-fix-build.patch # run go get -u. Old dependency can't run correctly on go 1.23
23 vendorHash = "sha256-WpX5I9PK7xuln6BkIEW2qIF1K/BgaEu/gkJsz+ThVk0=";
25 passthru.updateScript = nix-update-script { };
27 allowGoReference = true;
30 description = "Detect ineffectual assignments in Go code";
31 mainProgram = "ineffassign";
32 homepage = "https://github.com/gordonklaus/ineffassign";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [