gitea: 1.16.9 -> 1.17.0
https://github.com/go-gitea/gitea/releases/tag/v1.17.0 The source file now unpacks to a single folder, therefore the custom unpackPhase and sourceRoot are no longer needed.
This commit is contained in:
parent
62af94c2ce
commit
fc9e553653
1 changed files with 2 additions and 9 deletions
|
@ -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