From b7a6c757d959d24b57734db7d85cc156f5f7efd2 Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Sat, 6 Dec 2025 18:38:36 +0100 Subject: [PATCH] go-errorlint: Update src upstream --- pkgs/by-name/go/go-errorlint/package.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/go/go-errorlint/package.nix b/pkgs/by-name/go/go-errorlint/package.nix index a369de31d911..732ae6ea64c4 100644 --- a/pkgs/by-name/go/go-errorlint/package.nix +++ b/pkgs/by-name/go/go-errorlint/package.nix @@ -1,7 +1,7 @@ { lib, buildGoModule, - fetchFromGitHub, + fetchFromGitea, nix-update-script, }: @@ -9,7 +9,8 @@ buildGoModule rec { pname = "go-errorlint"; version = "1.8.0"; - src = fetchFromGitHub { + src = fetchFromGitea { + domain = "codeberg.org"; owner = "polyfloyd"; repo = "go-errorlint"; rev = "v${version}"; @@ -24,12 +25,13 @@ buildGoModule rec { ]; passthru.updateScript = nix-update-script { }; - meta = with lib; { + + meta = { description = "Source code linter that can be used to find code that will cause problems with Go's error wrapping scheme"; - homepage = "https://github.com/polyfloyd/go-errorlint"; - changelog = "https://github.com/polyfloyd/go-errorlint/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ + homepage = "https://codeberg.org/polyfloyd/go-errorlint"; + changelog = "https://codeberg.org/polyfloyd/go-errorlint/src/tag/${src.rev}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ meain polyfloyd ];