go-errorlint: Update src upstream (#468480)
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user