gitea: 1.5.1 -> 1.5.2

This commit is contained in:
Florian Jacob 2018-10-09 23:56:26 +02:00
parent 2f94acd9ae
commit 0a5c7cf512

View File

@ -7,13 +7,21 @@ with stdenv.lib;
buildGoPackage rec {
name = "gitea-${version}";
version = "1.5.1";
version = "1.5.2";
src = fetchFromGitHub {
owner = "go-gitea";
repo = "gitea";
rev = "v${version}";
sha256 = "06h6v9py35mm0xk9l8xrq02vvr5vzl15gfbw9qqvpn8kiamkn53r";
sha256 = "168pbndlh7c148p8wzkd39kd7idiba9zw7v0alp9zqcqzzayaydj";
# Required to generate the same checksum on MacOS due to unicode encoding differences
# More information: https://github.com/NixOS/nixpkgs/pull/48128
extraPostFetch = ''
rm -rf $out/integrations
rm -rf $out/vendor/github.com/Unknown/cae/tz/testdata
rm -rf $out/vendor/github.com/Unknown/cae/zip/testdata
rm -rf $out/vendor/gopkg.in/macaron.v1/fixtures
'';
};
patches = [ ./static-root-path.patch ];