gitea: 1.11.4 -> 1.11.5

https://github.com/go-gitea/gitea/releases/tag/v1.11.5

Also applying the patch which fixes the wiki-pages, closes #87115.
This commit is contained in:
Maximilian Bosch 2020-05-10 02:50:41 +02:00
parent 8441d53b7b
commit 54677515aa
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,5 +1,6 @@
{ stdenv, buildGoPackage, fetchurl, makeWrapper
, git, bash, gzip, openssh, pam
, fetchpatch
, sqliteSupport ? true
, pamSupport ? true
}:
@ -8,11 +9,11 @@ with stdenv.lib;
buildGoPackage rec {
pname = "gitea";
version = "1.11.4";
version = "1.11.5";
src = fetchurl {
url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
sha256 = "18k6kcdq0ijpzgay2aq1w95qkgfvrn1dgh4cxyj9c4i0pwb3ar7f";
sha256 = "0iqxwg53wjwi4vpq2h6fwmniazsi4cf68fcjrs459qbz4d6x8xa9";
};
unpackPhase = ''
@ -22,7 +23,13 @@ buildGoPackage rec {
sourceRoot = "source";
patches = [ ./static-root-path.patch ];
patches = [
./static-root-path.patch
(fetchpatch {
url = "https://github.com/go-gitea/gitea/commit/1830d0ed5f4a67e3360ecbb55933b5540b6affce.patch";
sha256 = "163531pcki28qfs56l64vv4xxaavxgksf038da1sn21j5l2jm81i";
})
];
postPatch = ''
patchShebangs .