diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-10-02 17:36:23 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-10-02 23:50:59 +1000 |
commit | 9e7e0e9aa1af7001ee368508e019fa8a2ef9972d (patch) | |
tree | c725ed6a415b660d98ed09b3e1b611b263ac025f /pkgs/servers/caddy | |
parent | 3429b8de2b94673a91ba0f6c475590cc1e791135 (diff) |
caddy1: remove
Diffstat (limited to 'pkgs/servers/caddy')
-rw-r--r-- | pkgs/servers/caddy/v1.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pkgs/servers/caddy/v1.nix b/pkgs/servers/caddy/v1.nix deleted file mode 100644 index dce4eea84b8a..000000000000 --- a/pkgs/servers/caddy/v1.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ stdenv, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "caddy"; - version = "1.0.5"; - - goPackagePath = "github.com/caddyserver/caddy"; - - subPackages = [ "caddy" ]; - - src = fetchFromGitHub { - owner = "caddyserver"; - repo = pname; - rev = "v${version}"; - sha256 = "0jrhwmr6gggppskg5h450wybzkv17iq69dgw36hd1dp56q002i7g"; - }; - - vendorSha256 = "09vnci9pp8zp7bvn8zj68wslz2nc54nhcd0ll31sqfjbp00215mj"; - - preBuild = '' - cat << EOF > caddy/main.go - package main - import "github.com/caddyserver/caddy/caddy/caddymain" - var run = caddymain.Run // replaced for tests - func main() { - caddymain.EnableTelemetry = false - run() - } - EOF - ''; - - meta = with stdenv.lib; { - homepage = "https://caddyserver.com"; - description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS"; - license = licenses.asl20; - maintainers = with maintainers; [ rushmorem fpletz zimbatm filalex77 ]; - }; -} |