caddy: 1.0.0 -> 1.0.3

This commit is contained in:
Mario Rodas 2019-09-22 22:22:22 -05:00
parent 55509279a9
commit 4d178d9fd6
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

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; {