Skip to content

Commit

Permalink
gitea: 1.11.4 -> 1.11.5
Browse files Browse the repository at this point in the history
https://github.com/go-gitea/gitea/releases/tag/v1.11.5

Also applying the patch which fixes the wiki-pages, closes #87115.

(cherry picked from commit 5467751)
  • Loading branch information
Ma27 committed May 10, 2020
1 parent 645fd4a commit 14dd961
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pkgs/applications/version-management/gitea/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv, buildGoPackage, fetchurl, makeWrapper
, git, bash, gzip, openssh, pam
, fetchpatch
, sqliteSupport ? true
, pamSupport ? true
}:
Expand All @@ -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 = ''
Expand All @@ -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 .
Expand Down

0 comments on commit 14dd961

Please sign in to comment.