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:
parent
8441d53b7b
commit
54677515aa
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, buildGoPackage, fetchurl, makeWrapper
|
{ stdenv, buildGoPackage, fetchurl, makeWrapper
|
||||||
, git, bash, gzip, openssh, pam
|
, git, bash, gzip, openssh, pam
|
||||||
|
, fetchpatch
|
||||||
, sqliteSupport ? true
|
, sqliteSupport ? true
|
||||||
, pamSupport ? true
|
, pamSupport ? true
|
||||||
}:
|
}:
|
||||||
@ -8,11 +9,11 @@ with stdenv.lib;
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "gitea";
|
pname = "gitea";
|
||||||
version = "1.11.4";
|
version = "1.11.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
|
url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
|
||||||
sha256 = "18k6kcdq0ijpzgay2aq1w95qkgfvrn1dgh4cxyj9c4i0pwb3ar7f";
|
sha256 = "0iqxwg53wjwi4vpq2h6fwmniazsi4cf68fcjrs459qbz4d6x8xa9";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
@ -22,7 +23,13 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
sourceRoot = "source";
|
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 = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
Loading…
Reference in New Issue
Block a user