caddy: 0.10.9 -> 0.10.10

This commit is contained in:
zimbatm 2017-11-01 20:35:18 +00:00
parent f4e38223f3
commit 314979fbb7

View File

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "caddy-${version}";
version = "0.10.9";
version = "0.10.10";
goPackagePath = "github.com/mholt/caddy";
@ -12,19 +12,9 @@ buildGoPackage rec {
owner = "mholt";
repo = "caddy";
rev = "v${version}";
sha256 = "1shry7dqcbb5d3hp9xz5l3jx9a6i18wssz3m28kpjf3cks427v55";
sha256 = "1x7f1yz5vnsy9n50ak0vjrm4w8fqc1qvhv8fmqnsc8cgbp7f3p8w";
};
patches = [
# This header was added in 0.10.9 and was since reverted but no new release made
# remove this patch when updating to next release
(fetchpatch {
url = "https://github.com/mholt/caddy/commit/d267b62fe9fdd008f13774afc72d95335934d133.patch";
name = "revert-sponsors-header.patch";
sha256 = "192g23kzkrwgif7ii9c70mh1a25gwhm1l1mzyqm9i0d3jifsfc2j";
})
];
buildFlagsArray = ''
-ldflags=
-X github.com/mholt/caddy/caddy/caddymain.gitTag=v${version}