From 491d7a111f37c063bba71f525cc26c94833508ec Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 1 Aug 2023 03:45:08 +0000 Subject: [PATCH] webcat: unstable-2021-09-06 -> 0.2.0 --- pkgs/tools/misc/webcat/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/webcat/default.nix b/pkgs/tools/misc/webcat/default.nix index d67c02a40217..52b9e78bccaa 100644 --- a/pkgs/tools/misc/webcat/default.nix +++ b/pkgs/tools/misc/webcat/default.nix @@ -1,18 +1,17 @@ -{ lib, buildGoModule, fetchFromGitea, asciidoctor, installShellFiles }: +{ lib, buildGoModule, fetchFromGitHub, asciidoctor, installShellFiles }: buildGoModule rec { pname = "webcat"; - version = "unstable-2021-09-06"; + version = "0.2.0"; - src = fetchFromGitea { - domain = "codeberg.org"; + src = fetchFromGitHub { owner = "rumpelsepp"; repo = "webcat"; - rev = "57a65558f0affac0b2f8f4831c52964eb9ad5386"; - sha256 = "15c62sjr15l5hwkvc4xarfn76341wi16pjv9qbr1agaz1vqgr6rd"; + rev = "v${version}"; + hash = "sha256-JyZHH8JgS3uoNVicx1wj0SAzlrXyTrpwIBZuok6buRw="; }; - vendorSha256 = "1apnra58mqrazbq53f0qlqnyyhjdvvdz995yridxva0fxmwpwcjy"; + vendorHash = "sha256-duVp/obT+5M4Dl3BAdSgRaP3+LKmS0y51loMMdoGysw="; nativeBuildInputs = [ asciidoctor installShellFiles ];