3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #184038 from kilianar/gitea-1.17.0

gitea: 1.16.9 -> 1.17.0
This commit is contained in:
Maximilian Bosch 2022-07-31 01:11:23 +02:00 committed by GitHub
commit 1f260ae997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
];