diff options
author | rushmorem <rushmore@webenchanter.com> | 2016-09-21 18:52:17 +0200 |
---|---|---|
committer | rushmorem <rushmore@webenchanter.com> | 2016-09-21 18:52:17 +0200 |
commit | a52aa1c940829ca30389d8cbb8eabffa6ec118cb (patch) | |
tree | 692247f0865d73ea9744976341d488f186c6b21f /pkgs/servers/caddy | |
parent | 0e226720f5ec172d6e0b6fa3efa658c1dafb06f2 (diff) |
caddy: 0.9.1 -> 0.9.2
Diffstat (limited to 'pkgs/servers/caddy')
-rw-r--r-- | pkgs/servers/caddy/default.nix | 13 | ||||
-rw-r--r-- | pkgs/servers/caddy/deps.nix | 85 |
2 files changed, 62 insertions, 36 deletions
diff --git a/pkgs/servers/caddy/default.nix b/pkgs/servers/caddy/default.nix index 2c2ad28e2921..bf0b40e1d7ba 100644 --- a/pkgs/servers/caddy/default.nix +++ b/pkgs/servers/caddy/default.nix @@ -2,7 +2,7 @@ buildGoPackage rec { name = "caddy-${version}"; - version = "v0.9.1"; + version = "0.9.2"; goPackagePath = "github.com/mholt/caddy"; @@ -11,8 +11,8 @@ buildGoPackage rec { src = fetchFromGitHub { owner = "mholt"; repo = "caddy"; - rev = version; - sha256 = "0slh4nf5pd42mgj1j9hzywqpc3p6d211dm6pdlhb6lyn8f6nprgp"; + rev = "v${version}"; + sha256 = "1nmimyykbjfnwbrka50z15d11z0fc6abpkr0cjbj678d5r9wpz33"; }; buildFlagsArray = '' @@ -21,4 +21,11 @@ buildGoPackage rec { ''; goDeps = ./deps.nix; + + meta = with stdenv.lib; { + homepage = https://caddyserver.com; + description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS"; + license = licenses.asl20; + maintainers = [ maintainers.rushmorem ]; + }; } diff --git a/pkgs/servers/caddy/deps.nix b/pkgs/servers/caddy/deps.nix index 7d3d4ad7ba4c..d7c974ecb162 100644 --- a/pkgs/servers/caddy/deps.nix +++ b/pkgs/servers/caddy/deps.nix @@ -1,14 +1,6 @@ +# This file was generated by go2nix. [ { - goPackagePath = "github.com/BurntSushi/toml"; - fetch = { - type = "git"; - url = "https://github.com/BurntSushi/toml"; - rev = "99064174e013895bbd9b025c31100bd1d9b590ca"; - sha256 = "058qrar8rvw3wb0ci1mf1axnqq2729cvv9zmdr4ms2nn9s97yiz9"; - }; - } - { goPackagePath = "github.com/dustin/go-humanize"; fetch = { type = "git"; @@ -31,8 +23,8 @@ fetch = { type = "git"; url = "https://github.com/gorilla/websocket"; - rev = "a69d25be2fe2923a97c2af6849b2f52426f68fc0"; - sha256 = "1z09mff5yfdrw8vbylrgrick5m5hczjy8m2x6swdq8v062s45g3v"; + rev = "2d1e4548da234d9cb742cc3628556fef86aafbac"; + sha256 = "0n7af8pjjmg5rhb3104lyvn966l1p4dfblmy3g9b0plsmnzrz6g5"; }; } { @@ -45,6 +37,15 @@ }; } { + goPackagePath = "github.com/hashicorp/golang-lru"; + fetch = { + type = "git"; + url = "https://github.com/hashicorp/golang-lru"; + rev = "0a025b7e63adc15a622f29b0b2c4c3848243bbf6"; + sha256 = "1iq7lbpsz7ks052mpznmkf8s4k43p51z4dik2n9ivrxk666q2wxi"; + }; + } + { goPackagePath = "github.com/jimstudt/http-authentication"; fetch = { type = "git"; @@ -58,8 +59,8 @@ fetch = { type = "git"; url = "https://github.com/lucas-clemente/aes12"; - rev = "5a3c52721c1e81aa8162601ac2342486525156d5"; - sha256 = "16z4h752na2d4sskjvbgi9bpwx874lpnzn6i13n33xjz599nps4y"; + rev = "8ee5b5610baca43b60ecfad586b3c40d92a96e0c"; + sha256 = "1lnzrr7f6cyb10gqji6433fvwi8zid0k019m694xyppv4pzgrc93"; }; } { @@ -76,8 +77,8 @@ fetch = { type = "git"; url = "https://github.com/lucas-clemente/quic-go"; - rev = "c2af049b8af811a546bfa6b11f362c9c1e706343"; - sha256 = "178w1qzpkyrkcnix093lj6dhgg5nylxg0aqmiff6f9ww2xknlw47"; + rev = "8f7a96dfafd8b03eae5679702a837ed5bdf91327"; + sha256 = "12qc7y8v3g16q3klh852f3v4yvbcp6h8am1q98ds2c1zay9jl50n"; }; } { @@ -85,8 +86,8 @@ fetch = { type = "git"; url = "https://github.com/lucas-clemente/quic-go-certificates"; - rev = "4904164a1a6479e3b509f616ccd31a7b0e705d52"; - sha256 = "1kpl8j4lqwq1xqkyikbczq8dwrybbgz4m9ny21a88v0da6r2bcfk"; + rev = "d2f86524cced5186554df90d92529757d22c1cb6"; + sha256 = "033099nv0y9pbv0v292x6g0mvwr2w02jf4vvpwx6sjpwbla4xjxd"; }; } { @@ -94,8 +95,8 @@ fetch = { type = "git"; url = "https://github.com/mholt/caddy"; - rev = "c5aa5843d92a27eaf521e28684111030135d9cdc"; - sha256 = "0slh4nf5pd42mgj1j9hzywqpc3p6d211dm6pdlhb6lyn8f6nprgp"; + rev = "73916ccc3069de4720a77b6b817b0bb77bda6b44"; + sha256 = "1nmimyykbjfnwbrka50z15d11z0fc6abpkr0cjbj678d5r9wpz33"; }; } { @@ -108,12 +109,30 @@ }; } { + goPackagePath = "github.com/naoina/go-stringutil"; + fetch = { + type = "git"; + url = "https://github.com/naoina/go-stringutil"; + rev = "6b638e95a32d0c1131db0e7fe83775cbea4a0d0b"; + sha256 = "00831p1wn3rimybk1z8l30787kn1akv5jax5wx743nn76qcmkmc6"; + }; + } + { + goPackagePath = "github.com/naoina/toml"; + fetch = { + type = "git"; + url = "https://github.com/naoina/toml"; + rev = "751171607256bb66e64c9f0220c00662420c38e9"; + sha256 = "07ivrcdd62y7jj5isrz7jhkqqc29s0wsn005mn0yxain51f8h7ly"; + }; + } + { goPackagePath = "github.com/russross/blackfriday"; fetch = { type = "git"; url = "https://github.com/russross/blackfriday"; - rev = "93622da34e54fb6529bfb7c57e710f37a8d9cbd8"; - sha256 = "19y4cx4afm3fjj7w83g0wklbzqdjm7m1j5nq64l4yq8bi50y2iv2"; + rev = "35eb537633d9950afc8ae7bdf0edb6134584e9fc"; + sha256 = "1hwi1nq5kkpcci7lf4fwhs8jj0mf6xcbdz1vgijpfyyd0zr6mphc"; }; } { @@ -121,8 +140,8 @@ fetch = { type = "git"; url = "https://github.com/shurcooL/sanitized_anchor_name"; - rev = "10ef21a441db47d8b13ebcc5fd2310f636973c77"; - sha256 = "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01"; + rev = "1dba4b3954bc059efc3991ec364f9f9a35f597d2"; + sha256 = "0pwap8lp79pldd95a1qi3xhlsa17m8zddpgc5jzvk6d1cjpsm6qg"; }; } { @@ -130,8 +149,8 @@ fetch = { type = "git"; url = "https://github.com/xenolf/lego"; - rev = "823436d61175269716a88cd6627bfa603812f10c"; - sha256 = "1j6nkw00d09ys0p4i7k4xad1fxczg3klvnw4x48wr1zaygnpaw7q"; + rev = "82ac43327b01319544c050d5d78a4edeff9565d2"; + sha256 = "0zs1l4dm0srkx78a7rqq1g8g4yn84c07177zbaa286jqpzgijahi"; }; } { @@ -139,8 +158,8 @@ fetch = { type = "git"; url = "https://go.googlesource.com/crypto"; - rev = "b3cc7317554b3e708b116d997899e612bab100d6"; - sha256 = "1mcrgsvqmghhvf9z99prm15flx9l3irpm20z2zmdmhsprhc0nr5v"; + rev = "6ab629be5e31660579425a738ba8870beb5b7404"; + sha256 = "1pk98j3wcxkns9whgazhid3if0dnaf57hmq0h6byq75aj9xbncxj"; }; } { @@ -148,8 +167,8 @@ fetch = { type = "git"; url = "https://go.googlesource.com/net"; - rev = "7394c112eae4dba7e96bfcfe738e6373d61772b4"; - sha256 = "1p8wsxnbsp2lq6hbza2n0zgv4sgpxzzjjlrmcngkhxj47kp3hin7"; + rev = "f4fe4abe3c785295ddf81c7f1823bcd3bad391b6"; + sha256 = "0l50x533pj0sj3gnr30zxgm51y4x5a5fwc515zj93iy1z0pyf9cn"; }; } { @@ -166,8 +185,8 @@ fetch = { type = "git"; url = "https://gopkg.in/square/go-jose.v1"; - rev = "a3927f83df1b1516f9e9dec71839c93e6bcf1db0"; - sha256 = "0zbsy6hbv3p0ahcf4hviyv1vnpdywyf1hdspz8l6vj897myd019f"; + rev = "139276ceb5afbf13e636c44e9382f0ca75c12ba3"; + sha256 = "1f46qka0xzzkbsg01r9c9fi9zlzai7h83mp9hlwg9m5s73h8gzwj"; }; } { @@ -175,8 +194,8 @@ fetch = { type = "git"; url = "https://gopkg.in/yaml.v2"; - rev = "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e"; - sha256 = "1himz6569rcgn27q6sdrwvdldx45q2spgjb5cfihgb80zww8di8x"; + rev = "31c299268d302dd0aa9a0dcf765a3d58971ac83f"; + sha256 = "14jkpa8g0s448n2x5qdi05m59ncsdscby1wy2p089zxl9nqavm8h"; }; } ] |