From 8d25e52065941c13f1d1b306b96dec09e51262fc Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Sat, 23 Oct 2021 02:23:14 +0200 Subject: [PATCH] sourcehut.pagessrht: 0.4.10 -> 0.5.0 --- .../version-management/sourcehut/pages.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/version-management/sourcehut/pages.nix b/pkgs/applications/version-management/sourcehut/pages.nix index 4a3d9f8c7d03..ffc38694ae76 100644 --- a/pkgs/applications/version-management/sourcehut/pages.nix +++ b/pkgs/applications/version-management/sourcehut/pages.nix @@ -2,21 +2,19 @@ , fetchFromSourcehut , buildGoModule }: -let - version = "0.4.10"; + +buildGoModule rec { + pname = "pagessrht"; + version = "0.5.0"; src = fetchFromSourcehut { owner = "~sircmpwn"; repo = "pages.sr.ht"; rev = version; - sha256 = "sha256-Lq/xCCAywxxjX5nHbOvmCaQ4wtLgjcMo3Qc7xO1fdAs="; + sha256 = "sha256-SwKiNqsPbUgJyj8qSY1c7dwDiEMznEWmFun57YmDRKw="; }; -in -buildGoModule { - inherit src version; - pname = "pagessrht"; - vendorSha256 = "sha256-YFRBoflFy48ipTvXdZ4qPSEgTIYvm4752JRZSzRG++U="; + vendorSha256 = "sha256-udr+1y5ApQCSPhs3yQTTi9QfzRbz0A9COYuFMjQGa74="; postInstall = '' mkdir -p $out/share/sql/