fork-cleaner: cleanup (#514138)

This commit is contained in:
isabel
2026-04-27 21:16:36 +00:00
committed by GitHub
+2 -6
View File
@@ -13,16 +13,12 @@ buildGoModule {
src = fetchFromGitHub {
owner = "caarlos0";
repo = "fork-cleaner";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-Io/IOJYa9qDCTTf6vQvZeco1iEDV7crnvzR539QDz40=";
};
vendorHash = "sha256-+OlrXYjBiXtbMf/IRzj06J1yq2XdlQk54lnJtCmqymw=";
# allowGoReference adds the flag `-trimpath` which is also denoted by, fork-cleaner goreleaser config
# <https://github.com/caarlos0/fork-cleaner/blob/645345bf97d751614270de4ade698ddbc53509c1/goreleaser.yml#L38>
allowGoReference = true;
ldflags = [
"-s"
"-w"
@@ -33,7 +29,7 @@ buildGoModule {
meta = {
description = "Quickly clean up unused forks on your GitHub account";
homepage = "https://github.com/caarlos0/fork-cleaner";
changelog = "https://github.com/caarlos0/fork-cleaner/releases/tag/${version}";
changelog = "https://github.com/caarlos0/fork-cleaner/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ isabelroses ];
mainProgram = "fork-cleaner";