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:
commit
1f260ae997
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue