1 { lib, buildGoModule, fetchFromGitHub }:
7 excludedPackages = [ "tests" ];
9 src = fetchFromGitHub {
13 sha256 = "sha256-GpOZJ5/5aNw1o8fk2RSAx200v6AZ+pbNu/25i8OSS1Y=";
18 ldflags = [ "-s" "-w" ];
21 description = "Find in Go repeated strings that could be replaced by a constant";
22 mainProgram = "goconst";
23 homepage = "https://github.com/jgautheron/goconst";
24 license = licenses.mit;
25 maintainers = with maintainers; [ kalbasit ];
26 platforms = platforms.linux ++ platforms.darwin;