From fc9e553653b9becaf4f678cd5d5eed493397e020 Mon Sep 17 00:00:00 2001 From: kilianar Date: Sat, 30 Jul 2022 22:37:10 +0200 Subject: [PATCH] gitea: 1.16.9 -> 1.17.0 https://github.com/go-gitea/gitea/releases/tag/v1.17.0 The source file now unpacks to a single folder, therefore the custom unpackPhase and sourceRoot are no longer needed. --- .../applications/version-management/gitea/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix index c9af0c8f1f02..c82951768cc6 100644 --- a/pkgs/applications/version-management/gitea/default.nix +++ b/pkgs/applications/version-management/gitea/default.nix @@ -14,21 +14,14 @@ buildGoPackage rec { pname = "gitea"; - version = "1.16.9"; + version = "1.17.0"; # not fetching directly from the git repo, because that lacks several vendor files for the web UI src = fetchurl { url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; - sha256 = "sha256-LxPYUSyRSfDlGwCC2IFPEISP4wsRJsUbwi9F7sxbMOE="; + sha256 = "sha256-oBbAg2xQ58dLBCjhcKMoUf32ckoFfnFQHL3z3pAKW1Y="; }; - unpackPhase = '' - mkdir source/ - tar xvf $src -C source/ - ''; - - sourceRoot = "source"; - patches = [ ./static-root-path.patch ];