Merge pull request #69276 from marsam/update-caddy

caddy: 1.0.0 -> 1.0.3
This commit is contained in:
Jörg Thalheim 2019-09-23 09:12:05 +01:00 committed by GitHub
commit 04c894a091
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,23 +2,23 @@
buildGoModule rec {
pname = "caddy";
version = "1.0.0";
version = "1.0.3";
goPackagePath = "github.com/mholt/caddy";
goPackagePath = "github.com/caddyserver/caddy";
subPackages = [ "caddy" ];
src = fetchFromGitHub {
owner = "mholt";
repo = "caddy";
owner = "caddyserver";
repo = pname;
rev = "v${version}";
sha256 = "08hknms0lg5c6yhkz9g1i32d11xch2kqkjbk4w4kd1f1xpa6jvmz";
sha256 = "1n7i9w4vva5x5wry7gzkyfylk39x40ykv7ypf1ca3zbbk7w5x6mw";
};
modSha256 = "02cb3swc180kh5vc2s5w8a6vidvw768l9bv5zg8zya183wzvfczs";
modSha256 = "0np0mbs0mrn8scqa0dgvi7ya1707b3883prdaf1whsqrcr71ig8q";
buildFlagsArray = ''
-ldflags=
-X github.com/mholt/caddy/caddy/caddymain.gitTag=v${version}
-s -w -X github.com/caddyserver/caddy/caddy/caddymain.gitTag=v${version}
'';
meta = with stdenv.lib; {